docs/src/Makefile

changeset 276
20a176d5a53e
parent 275
fa48ab29abd2
child 285
02d3e4b1245f
equal deleted inserted replaced
275:fa48ab29abd2 276:20a176d5a53e
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
70 70
71 all: build $(HTML) $(FILES) 71 all: doc
72
73 doc: build $(HTML) $(FILES)
74
72 75
73 build: 76 build:
74 mkdir -p build 77 mkdir -p build
75 78
76 build/%.html: %.md 79 build/%.html: %.md
77 $(PANDOC) $(PFLAGS) $< -o $@ 80 $(PANDOC) $(PFLAGS) $< -o $@
78 81
79 build/davdoc.css: 82 build/davdoc.css:
80 cp davdoc.css build 83 cp davdoc.css build
81 84
82 dist: build 85 dist: doc
83 rm -Rf ../html; cp -R build ../html 86 rm -Rf ../html; cp -R build ../html
84 87
85 clean: 88 clean:
86 rm -Rf build 89 rm -Rf build
90

mercurial