diff options
-rw-r--r-- | Administrator_Guide/Makefile | 2 | ||||
-rw-r--r-- | Deployment_Guide/Makefile | 2 | ||||
-rw-r--r-- | Development_Manual/Makefile | 2 | ||||
-rw-r--r-- | Installation_Guide/Makefile | 10 | ||||
-rw-r--r-- | Release_Notes/Makefile | 2 | ||||
-rw-r--r-- | Testing_Reference/Makefile | 2 |
6 files changed, 20 insertions, 0 deletions
diff --git a/Administrator_Guide/Makefile b/Administrator_Guide/Makefile index eeffdbb..524c797 100644 --- a/Administrator_Guide/Makefile +++ b/Administrator_Guide/Makefile @@ -2,6 +2,8 @@ PACKAGE = "Administrator_Guide" all: clean clean_ids @publican build --langs=en-US --formats=html,html-single,pdf + +upload: all @rsync -aHvz tmp/en-US/{html,html-single,pdf} hosted.kolabsys.com:./public_html/kolab-2.3-docs/$(PACKAGE)/ clean: diff --git a/Deployment_Guide/Makefile b/Deployment_Guide/Makefile index 1ec237d..4e3c7d0 100644 --- a/Deployment_Guide/Makefile +++ b/Deployment_Guide/Makefile @@ -2,6 +2,8 @@ PACKAGE = "Deployment_Guide" all: clean clean_ids @publican build --langs=en-US --formats=html,html-single,pdf + +upload: all @rsync -aHvz tmp/en-US/{html,html-single,pdf} hosted.kolabsys.com:./public_html/kolab-2.3-docs/$(PACKAGE)/ clean: diff --git a/Development_Manual/Makefile b/Development_Manual/Makefile index bef33ef..f27c571 100644 --- a/Development_Manual/Makefile +++ b/Development_Manual/Makefile @@ -2,6 +2,8 @@ PACKAGE = "Development_Manual" all: clean clean_ids @publican build --langs=en-US --formats=html,html-single,pdf + +upload: all @rsync -aHvz tmp/en-US/{html,html-single,pdf} hosted.kolabsys.com:./public_html/kolab-2.3-docs/$(PACKAGE)/ clean: diff --git a/Installation_Guide/Makefile b/Installation_Guide/Makefile index 9434d0e..d404559 100644 --- a/Installation_Guide/Makefile +++ b/Installation_Guide/Makefile @@ -4,6 +4,16 @@ all: clean clean_ids @for audience in enterprise community; do \ sed -r -i -e "s/^condition:.*/condition: $$audience/g" publican.cfg; \ publican build --langs=en-US --formats=html,html-single,pdf; \ + for format in html html-single pdf; do \ + mv tmp/en-US/$$format tmp/$$(echo $${audience:0:1} | tr '[:lower:]' '[:upper:]')$${audience:1}_en-US_$$format; \ + done; \ + done + @sed -r -i -e 's/^condition:.*/condition: community/g' publican.cfg + +upload: clean clean_ids + @for audience in enterprise community; do \ + sed -r -i -e "s/^condition:.*/condition: $$audience/g" publican.cfg; \ + publican build --langs=en-US --formats=html,html-single,pdf; \ rsync -aHvz tmp/en-US/{html,html-single,pdf} hosted.kolabsys.com:./public_html/kolab-2.3-docs/$$(echo $${audience:0:1} | tr '[:lower:]' '[:upper:]')$${audience:1}_$(PACKAGE)/; \ done @sed -r -i -e 's/^condition:.*/condition: community/g' publican.cfg diff --git a/Release_Notes/Makefile b/Release_Notes/Makefile index 4acee2c..74963a1 100644 --- a/Release_Notes/Makefile +++ b/Release_Notes/Makefile @@ -2,6 +2,8 @@ PACKAGE = "Release_Notes" all: clean clean_ids @publican build --langs=en-US --formats=html,html-single,pdf + +upload: all @rsync -aHvz tmp/en-US/{html,html-single,pdf} hosted.kolabsys.com:./public_html/kolab-2.3-docs/$(PACKAGE)/ clean: diff --git a/Testing_Reference/Makefile b/Testing_Reference/Makefile index 8f7516a..cfde688 100644 --- a/Testing_Reference/Makefile +++ b/Testing_Reference/Makefile @@ -2,6 +2,8 @@ PACKAGE = "Testing_Reference" all: clean clean_ids @publican build --langs=en-US --formats=html,html-single,pdf + +upload: all @rsync -aHvz tmp/en-US/{html,html-single,pdf} hosted.kolabsys.com:./public_html/kolab-2.3-docs/$(PACKAGE)/ clean: |