docs/src/Makefile

changeset 285
02d3e4b1245f
parent 276
20a176d5a53e
child 320
12ed560c926c
equal deleted inserted replaced
284:8e7ef0675946 285:02d3e4b1245f
64 SRC += sync-configuration.md 64 SRC += sync-configuration.md
65 65
66 66
67 HTML = $(SRC:%.md=build/%.html) 67 HTML = $(SRC:%.md=build/%.html)
68 68
69 FILES = build/davdoc.css 69 FILES = build/davdoc.css build/index.html
70 70
71 all: doc 71 all: doc
72 72
73 doc: build $(HTML) $(FILES) 73 doc: build $(HTML) $(FILES)
74 74
80 $(PANDOC) $(PFLAGS) $< -o $@ 80 $(PANDOC) $(PFLAGS) $< -o $@
81 81
82 build/davdoc.css: 82 build/davdoc.css:
83 cp davdoc.css build 83 cp davdoc.css build
84 84
85 build/index.html:
86 cp index.html build
87
85 dist: doc 88 dist: doc
86 rm -Rf ../html; cp -R build ../html 89 rm -Rf ../html; cp -R build ../html
87 90
88 clean: 91 clean:
89 rm -Rf build 92 rm -Rf build

mercurial