summaryrefslogtreecommitdiff
path: root/Development_Manual/Makefile
blob: 6da5a948f1bef808f1f77a05928d5df42f3b566d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
PACKAGE = "Development_Manual"

all: clean clean_ids
	publican build --embedtoc --publish --langs=all --formats=html,html-single,pdf
	publican install_book --site_config=../site.cfg --lang=en-US

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"`