[Box Backup-commit] COMMIT r2018 - box/trunk/documentation/boxbackup

boxbackup-dev at fluffy.co.uk boxbackup-dev at fluffy.co.uk
Wed Jan 2 13:36:19 GMT 2008


Author: chris
Date: 2008-01-02 13:36:19 +0000 (Wed, 02 Jan 2008)
New Revision: 2018

Modified:
   box/trunk/documentation/boxbackup/Makefile
Log:
Add a docs target that builds the docs but without making a dockit.

Don't fail if box-html/images already exists when making docs.


Modified: box/trunk/documentation/boxbackup/Makefile
===================================================================
--- box/trunk/documentation/boxbackup/Makefile	2008-01-02 13:31:21 UTC (rev 2017)
+++ box/trunk/documentation/boxbackup/Makefile	2008-01-02 13:36:19 UTC (rev 2018)
@@ -10,8 +10,13 @@
 VPATH= adminguide
 .SUFFIXES: .html .xml
 
-all: adminguide instguide manpages 
+all: docs
 
+docs: instguide adminguide manpages
+	mkdir -p $(HTMLPREFIX)/images
+	cp html/images/*.png $(HTMLPREFIX)/images/.
+	cp html/*.css $(HTMLPREFIX)/.
+
 adminguide: $(HTMLPREFIX)/adminguide/index.html 
 
 $(HTMLPREFIX)/adminguide/index.html: adminguide.xml ExceptionCodes.xml $(BOOKXSL)
@@ -49,10 +54,7 @@
 	mv $@ man-pages/.
 	gzip -f -9 man-pages/$@
 
-dockit: instguide adminguide manpages
-	mkdir $(HTMLPREFIX)/images
-	cp html/images/*.png $(HTMLPREFIX)/images/.
-	cp html/*.css $(HTMLPREFIX)/.
+dockit: clean docs
 	tar zcf documentation-kit-0.10.tar.gz $(HTMLPREFIX)/
 
 clean:




More information about the Boxbackup-commit mailing list