summaryrefslogtreecommitdiff
path: root/Release_Notes/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Release_Notes/Makefile')
-rw-r--r--Release_Notes/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Release_Notes/Makefile b/Release_Notes/Makefile
new file mode 100644
index 0000000..4acee2c
--- /dev/null
+++ b/Release_Notes/Makefile
@@ -0,0 +1,17 @@
+PACKAGE = "Release_Notes"
+
+all: clean clean_ids
+ @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/$(PACKAGE)/
+
+clean:
+ @publican clean
+
+clean_ids:
+ @cp -a ../Common_Content/en-US/*.xml en-US/.
+ @publican clean_ids
+ @sed -i -r \
+ -e 's/\t/ /g' \
+ -e 's/((\s{4})+)\s*/\1/g' \
+ -e 's/\s*$$//g' \
+ `find en-US/ -type f -name "*.xml"`