summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--About_Kolab_Groupware/Makefile8
-rw-r--r--Administrator_Guide/Makefile6
-rw-r--r--Architecture_and_Design/Makefile10
-rw-r--r--Deployment_Guide/Makefile6
-rw-r--r--Development_Manual/Makefile6
-rw-r--r--Release_Notes/Makefile6
-rw-r--r--Testing_Reference/Makefile6
7 files changed, 31 insertions, 17 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/
diff --git a/Administrator_Guide/Makefile b/Administrator_Guide/Makefile
index 65fde70..04b2054 100644
--- a/Administrator_Guide/Makefile
+++ b/Administrator_Guide/Makefile
@@ -1,8 +1,10 @@
PACKAGE = "Administrator_Guide"
all: clean clean_ids
- @publican build --embedtoc --publish --langs=all --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/
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
diff --git a/Deployment_Guide/Makefile b/Deployment_Guide/Makefile
index 790640a..cb1b5a7 100644
--- a/Deployment_Guide/Makefile
+++ b/Deployment_Guide/Makefile
@@ -1,8 +1,10 @@
PACKAGE = "Deployment_Guide"
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/
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/
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/
diff --git a/Testing_Reference/Makefile b/Testing_Reference/Makefile
index 269f8fd..64d78fe 100644
--- a/Testing_Reference/Makefile
+++ b/Testing_Reference/Makefile
@@ -1,8 +1,10 @@
PACKAGE = "Testing_Reference"
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/