diff options
Diffstat (limited to 'Release_Notes')
-rw-r--r-- | Release_Notes/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Release_Notes/Makefile b/Release_Notes/Makefile index 7c43140..cdcca4d 100644 --- a/Release_Notes/Makefile +++ b/Release_Notes/Makefile @@ -1,8 +1,10 @@ PACKAGE = "Release_Notes" 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/ |