summaryrefslogtreecommitdiff
path: root/About_Kolab_Groupware
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-12-09 12:20:26 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-12-09 12:20:26 (GMT)
commit5608c49bf67d7776a7482fd25a44589850bf6a5a (patch)
treead0893a7fff91d6f13fb1950ffebce0a7c035e9d /About_Kolab_Groupware
parent3a1ecfbe0458ccb8be6bc7295ae9b8f2c9b52471 (diff)
downloadkolab-docs-5608c49bf67d7776a7482fd25a44589850bf6a5a.tar.gz
Advance Makefiles to be more efficient, and only build documents if there's actual changes after clean/clean_ids
Diffstat (limited to 'About_Kolab_Groupware')
-rw-r--r--About_Kolab_Groupware/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/About_Kolab_Groupware/Makefile b/About_Kolab_Groupware/Makefile
index d8bda32..c7df205 100644
--- a/About_Kolab_Groupware/Makefile
+++ b/About_Kolab_Groupware/Makefile
@@ -1,8 +1,10 @@
-PACKAGE = "Administrator_Guide"
+PACKAGE = "About_Kolab_Groupware"
all: clean clean_ids
- @publican build --publish --embedtoc --langs=all --formats=html-single
- @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/home/ hosted.kolabsys.com:./public_html/kolab-docs/