-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
50 lines (38 loc) · 1.53 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
RST2HTML=rst2html.py --stylesheet=spec.css
all: \
build/spec/0.1/index.html \
build/ext/registry/index.html \
build/ext/translation/0.1/index.html \
build/ext/folder/0.1/index.html \
build/ext/include/0.1/index.html \
build/ext/refresh/0.1/index.html \
build/ext/kml/0.1/index.html \
build/ext/geojson/0.1/index.html
clean:
rm -rf build
publish: all
rsync -rvz build/ mapmixer.org:/var/www-mapmixer.org/mapsetjson
build/spec/0.1/index.html: mapsetjson-0.1.rst spec.css
[ -d build/spec/0.1/ ] || mkdir -p build/spec/0.1/
$(RST2HTML) $< $@
build/ext/registry/index.html: registry.rst spec.css
[ -d build/ext/registry/ ] || mkdir -p build/ext/registry/
$(RST2HTML) $< $@
build/ext/translation/0.1/index.html: translation-0.1.rst spec.css
[ -d build/ext/translation/0.1/ ] || mkdir -p build/ext/translation/0.1/
$(RST2HTML) $< $@
build/ext/folder/0.1/index.html: folder-0.1.rst spec.css
[ -d build/ext/folder/0.1/ ] || mkdir -p build/ext/folder/0.1/
$(RST2HTML) $< $@
build/ext/include/0.1/index.html: include-0.1.rst spec.css
[ -d build/ext/include/0.1/ ] || mkdir -p build/ext/include/0.1/
$(RST2HTML) $< $@
build/ext/refresh/0.1/index.html: refresh-0.1.rst spec.css
[ -d build/ext/refresh/0.1/ ] || mkdir -p build/ext/refresh/0.1/
$(RST2HTML) $< $@
build/ext/kml/0.1/index.html: kml-0.1.rst spec.css
[ -d build/ext/kml/0.1/ ] || mkdir -p build/ext/kml/0.1/
$(RST2HTML) $< $@
build/ext/geojson/0.1/index.html: geojson-0.1.rst spec.css
[ -d build/ext/geojson/0.1/ ] || mkdir -p build/ext/geojson/0.1/
$(RST2HTML) $< $@