forked from yaml/www.yaml.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
32 lines (29 loc) · 1.45 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
HTML=index.html todo.html refcard.html discuss.html download.html \
faq.html start.html about.html tutorial.html link.html xml.html
all: ${HTML}
index.html: header.txt menu.txt index.txt footer.txt
cat header.txt menu.txt index.txt footer.txt > $@
todo.html: header.txt menu.txt todo.txt footer.txt
cat header.txt menu.txt todo.txt footer.txt > $@
refcard.tmp: refcard.txt
cat refcard.txt | sed 's/&/\&/g' | sed 's/</\</g' > refcard.tmp
refcard.html: header.txt menu.txt refbeg.txt refcard.tmp refend.txt footer.txt
cat header.txt menu.txt refbeg.txt refcard.tmp refend.txt footer.txt > $@
discuss.html: header.txt menu.txt discuss.txt footer.txt
cat header.txt menu.txt discuss.txt footer.txt > $@
download.html: header.txt menu.txt download.txt footer.txt
cat header.txt menu.txt download.txt footer.txt > $@
faq.html: header.txt menu.txt faq.txt footer.txt
cat header.txt menu.txt faq.txt footer.txt > $@
start.html: header.txt menu.txt start.txt footer.txt
cat header.txt menu.txt start.txt footer.txt > $@
about.html: header.txt menu.txt about.txt footer.txt
cat header.txt menu.txt about.txt footer.txt > $@
tutorial.html: header.txt menu.txt tutorial.txt footer.txt
cat header.txt menu.txt tutorial.txt footer.txt > $@
link.html: header.txt menu.txt link.txt footer.txt
cat header.txt menu.txt link.txt footer.txt > $@
xml.html: header.txt menu.txt xml.txt footer.txt
cat header.txt menu.txt xml.txt footer.txt > $@
clean:
rm -f ${HTML} ~* *~