diff options
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index 1874fd0..9920c97 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,4 +1,4 @@ -## $Id: Makefile.am,v 1.45 2006/03/21 01:42:58 rlk Exp $ +## $Id: Makefile.am,v 1.48 2006/07/16 22:59:53 rlk Exp $ ## Copyright (C) 2000 Roger Leigh ## ## This program is free software; you can redistribute it and/or modify @@ -19,14 +19,14 @@ @SET_MAKE@ -SUBDIRS = developer users_guide +SUBDIRS = developer include $(top_srcdir)/scripts/global.mk ## Variables -docdir = $(datadir)/doc/$(PACKAGE) +docdir = $(datadir)/$(PACKAGE)/doc ## Rules @@ -51,19 +51,21 @@ gutenprint-stamp: gutenprint.dox $(top_srcdir)/configure docs: gutenprint-stamp cd developer; $(MAKE) - cd users_guide; $(MAKE) ps: $(MANUAL).ps cd developer; $(MAKE) ps - cd users_guide; $(MAKE) ps pdf: $(MANUAL).pdf cd developer; $(MAKE) pdf - cd users_guide; $(MAKE) pdf html: cd developer; $(MAKE) html - cd users_guide; $(MAKE) html + +install-data-local: FAQ.html gutenprint-users-manual.odt gutenprint-users-manual.pdf + $(mkdir_p) $(DESTDIR)$(docdir) + $(INSTALL_DATA) FAQ.html $(DESTDIR)$(docdir) + $(INSTALL_DATA) gutenprint-users-manual.odt $(DESTDIR)$(docdir) + $(INSTALL_DATA) gutenprint-users-manual.pdf $(DESTDIR)$(docdir) ## Clean @@ -78,6 +80,8 @@ MAINTAINERCLEANFILES = \ EXTRA_DIST = \ FAQ.html \ README.maintaining \ + gutenprint-users-manual.odt \ + gutenprint-users-manual.pdf \ gutenprint.dox.in \ gutenprintui2.dox.in \ gutenprint \ |