summaryrefslogtreecommitdiff
path: root/Development_Manual/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Development_Manual/Makefile')
-rw-r--r--Development_Manual/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Development_Manual/Makefile b/Development_Manual/Makefile
index 3e7c0f0..bcb8701 100644
--- a/Development_Manual/Makefile
+++ b/Development_Manual/Makefile
@@ -1,8 +1,10 @@
PACKAGE = "Development_Manual"
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/