summaryrefslogtreecommitdiff
path: root/Testing_Reference/Makefile
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-01-06 00:04:02 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-01-06 00:04:02 (GMT)
commit9b212357203591f1feb113c9c89ee4cef353146a (patch)
tree1285c95b952b58a6c74e3fa1dcf0d6c2722e828a /Testing_Reference/Makefile
parentbf59e6aec9eb7aae4928cb6314ca6fd0bb0ce0b2 (diff)
downloadkolab-docs-9b212357203591f1feb113c9c89ee4cef353146a.tar.gz
Add a Testing Reference book
Diffstat (limited to 'Testing_Reference/Makefile')
-rw-r--r--Testing_Reference/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Testing_Reference/Makefile b/Testing_Reference/Makefile
new file mode 100644
index 0000000..8f7516a
--- /dev/null
+++ b/Testing_Reference/Makefile
@@ -0,0 +1,17 @@
+PACKAGE = "Testing_Reference"
+
+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"`