summaryrefslogtreecommitdiff
path: root/Development_Manual/Makefile
blob: f27c5710a9f48cd0c2acd780c65a715a10f7673e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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:
	@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"`