summaryrefslogtreecommitdiff
path: root/Installation_Guide/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Installation_Guide/Makefile')
-rw-r--r--Installation_Guide/Makefile10
1 files changed, 10 insertions, 0 deletions
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