blob: cdcca4d68d0161cbcd6d37bc7a3abe97d75321e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
PACKAGE = "Release_Notes"
all: clean clean_ids
@if [ ! -z "`git status . 2>&1 | grep \"working directory clean\"`" ]; then \
publican build --embedtoc --publish --langs=all --formats=html,html-single,pdf; \
publican install_book --site_config=../site.cfg --lang=en-US; \
fi
upload: all
@rsync -aHvz publish/en-US/ hosted.kolabsys.com:./public_html/kolab-docs/
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"`
|