blob: d37568b1bd05e0591957bc4f28b0d8fda327fbdb (
plain)
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
|
ALL := index.html osx-notes.html README.html INSTALL.html features.html changelog.html examples.html
PANDOC_PATH ?= $(dir $(shell which pandoc))
MAKEPAGE = $(PANDOC_PATH)/pandoc -s -S -B header.html -A footer.html -H css
PANDOC_DEPS = header.html footer.html css
all : $(ALL)
.PHONY: clean
clean:
for file in $(ALL); do rm $$file; done; \
rm -r example*;
examples.txt : $(PANDOC_DEPS) mkdemos.sh
./mkdemos.sh . $(PANDOC_PATH) > $@
%.html : %.txt $(PANDOC_DEPS)
$(MAKEPAGE) $< > $@
%.html : % $(PANDOC_DEPS)
$(MAKEPAGE) $< > $@
changelog.html : changelog.txt $(PANDOC_DEPS)
$(MAKEPAGE) -T "Pandoc changelog" $< > $@
upload :
sitecopy --update macfarlane
|