[PPL-devel] [GIT] ppl/ppl(master): Make sure the PDF documentation is fully built before extracting the PostScript documentation .

Roberto Bagnara bagnara at cs.unipr.it
Sun Jun 12 09:14:22 CEST 2011


Module: ppl/ppl
Branch: master
Commit: 700beeb4d08cd315667dab76f4134ecf9f352064
URL:    http://www.cs.unipr.it/git/gitweb.cgi?p=ppl/ppl.git;a=commit;h=700beeb4d08cd315667dab76f4134ecf9f352064

Author: Roberto Bagnara <bagnara at cs.unipr.it>
Date:   Sun Jun 12 09:13:28 2011 +0200

Make sure the PDF documentation is fully built before extracting the PostScript documentation.

---

 Watchdog/doc/Makefile.am |    5 ++++-
 doc/Makefile.am          |    5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/Watchdog/doc/Makefile.am b/Watchdog/doc/Makefile.am
index fd0f84d..db20a64 100644
--- a/Watchdog/doc/Makefile.am
+++ b/Watchdog/doc/Makefile.am
@@ -183,7 +183,10 @@ uninstall-pdf:
 	rm -f $(DESTDIR)$(pdfdir)/*.pdf
 
 # Installation and uninstallation of PostScript documentation.
-install-ps:
+# The PostScript documentation is obtained from the PDF one;
+# the dependency is needed so as to make sure the PDF documentation
+# is fully built before the conversion is performed.
+install-ps: install-pdf
 	$(mkinstalldirs) $(DESTDIR)$(psdir)
 	for file in $(DIST_PS_DOCS); do \
 	  test -f $$file || test -f $(srcdir)/$$file || $(MAKE) $$file; \
diff --git a/doc/Makefile.am b/doc/Makefile.am
index aa547e0..398fead 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -769,7 +769,10 @@ uninstall-pdf:
 	done
 
 # Installation and uninstallation of PostScript documentation.
-install-ps:
+# The PostScript documentation is obtained from the PDF one;
+# the dependency is needed so as to make sure the PDF documentation
+# is fully built before the conversion is performed.
+install-ps: install-pdf
 	$(mkinstalldirs) $(DESTDIR)$(psdir)
 	for file in $(INSTALL_PS_DOCS); do \
 	  test -f $$file || test -f $(srcdir)/$$file || $(MAKE) $$file; \




More information about the PPL-devel mailing list