[Scummvm-cvs-logs] CVS: docs/docbook Makefile,1.6,1.7

Max Horn fingolfin at users.sourceforge.net
Wed Dec 22 10:12:02 CET 2004


Update of /cvsroot/scummvm/docs/docbook
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26699

Modified Files:
	Makefile 
Log Message:
Manual now depends on credits.xml

Index: Makefile
===================================================================
RCS file: /cvsroot/scummvm/docs/docbook/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Makefile	21 Dec 2004 01:57:23 -0000	1.6
+++ Makefile	22 Dec 2004 18:11:31 -0000	1.7
@@ -6,15 +6,17 @@
 
 DOCBOOK_XSL = /sw/share/xml/xsl/docbook-xsl
 
-all: manual.html manual.txt manual/index.html manual.pdf
-all: devguide.html devguide.txt devguide/index.html devguide.pdf
-all: faq.html faq.txt faq.pdf
+MANUAL_DST = manual.html manual.txt manual/index.html manual.pdf
+DEVGUIDE_DST = devguide.html devguide.txt devguide/index.html devguide.pdf
+FAQ_DST = faq.html faq.txt faq.pdf;
+
+all: $(MANUAL_DST) $(DEVGUIDE_DST) $(FAQ_DST)
 
 clean:
-	rm manual.html manual.txt manual.pdf
-	rm devguide.html devguide.txt devguide.pdf
+	rm $(MANUAL_DST)
+	rm $(DEVGUIDE_DST)
+	rm $(FAQ_DST)
 	rm -rf devguide manual
-	rm faq.html faq.txt faq.pdf
 
 # Validate the XML
 check:
@@ -23,6 +25,8 @@
 	xmllint manual.xml > /dev/null
 
 
+$(MANUAL_DST): credits.xml
+
 #
 # For the PDF version of the manual, some of the images should be converted to
 # from PNG to PDF. The following rule does that using ImageMagick.





More information about the Scummvm-git-logs mailing list