summaryrefslogtreecommitdiff
path: root/Architecture_and_Design
diff options
context:
space:
mode:
Diffstat (limited to 'Architecture_and_Design')
-rw-r--r--Architecture_and_Design/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/Architecture_and_Design/Makefile b/Architecture_and_Design/Makefile
index 618f474..e56f5fc 100644
--- a/Architecture_and_Design/Makefile
+++ b/Architecture_and_Design/Makefile
@@ -1,8 +1,10 @@
PACKAGE = "Architecture_and_Design"
all: clean clean_ids
- @publican build --embedtoc --publish --langs=en-US --formats=html,html-single,pdf
- @publican install_book --site_config=../site.cfg --lang=en-US
+ @if [ ! -z "`git status . 2>&1 | grep \"working directory clean\"`" ]; then \
+ publican build --embedtoc --publish --langs=all --formats=html,html-single,pdf; \
+ publican install_book --site_config=../site.cfg --lang=en-US; \
+ fi
upload: all
@rsync -aHvz publish/en-US/ hosted.kolabsys.com:./public_html/kolab-docs/
@@ -21,5 +23,5 @@ clean_ids:
`find en-US/ -type f -name "*.xml"`
# Additional quick build targets
-pdf:
- @publican build --langs=en-US --formats=pdf
+pdf: clean clean_ids
+ @publican build --embedtoc --publish --langs=en-US --formats=pdf