blob: d0dbf963f87112f1eaed2e949c35fb6db991af6d (
plain) (
blame)
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
|
# depth is defined in subdirectories as .., ../.. and so on.
depth?=.
include site.mk
feed= news.html atom.xml unixtips.html unixtips.atom.xml
all: $(basics) $(webpages) theme.css
website: FORCE $(webpages)
FORCE:
perl6 bin/atom atom > atom.xml
perl6 bin/atom news > news.md
cd posts/2015; make
menu: menu.md.
m4 -I$(depth)/m4 post defs render $< | pandoc -t html5 -o $@
clean:
rm -f menu $(webpages)
%.css: %.styl
stylus -c $<
r.html: test_defs.zsh
zsh test_defs.zsh > r.tap
tapprouve r.tap > r.html
$(keywords_m4): $(depth)/keywords
perl bin/m4keys $< > $@
.md.html: $(basics)
$(htmlify) < $< > $@
snitch:
@echo mdpages: $(mdpages)
@echo webpages: $(webpages)
|