From 20f0ac48ee3a75205b3e75018a80535f5283f1e5 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Wed, 2 Jan 2008 13:36:19 +0000 Subject: 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. --- documentation/boxbackup/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'documentation') diff --git a/documentation/boxbackup/Makefile b/documentation/boxbackup/Makefile index ea795710..aefa3ee2 100644 --- a/documentation/boxbackup/Makefile +++ b/documentation/boxbackup/Makefile @@ -10,7 +10,12 @@ HTMLPREFIX=box-html 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 @@ -49,10 +54,7 @@ man-html: bbackupquery.html bbackupctl.html bbstoreaccounts.html bbstored-config 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: -- cgit v1.2.1