git ssb

0+

cel / ssb-invitation-cards



Tree: 99632759931138b75a0c377236b80bbe2042a18d

Files: 99632759931138b75a0c377236b80bbe2042a18d / Makefile

660 bytesRaw
1THEME = themes/original.ps
2
3all: view-cards.pid
4#all: view-card.pid
5
6view-card.pid: card.pdf
7 test -s $@ && kill -HUP $$(cat $@) 2>/dev/null && touch $@ || (mupdf -r 144 $< & echo $$! > $@)
8
9view-cards.pid: cards.pdf
10 test -s $@ && kill -HUP $$(cat $@) 2>/dev/null && touch $@ || (mupdf -r 120 $< & echo $$! > $@)
11
12urls:
13 test -s urls || cp urls.example $@
14
15config.ps:
16 test -s config.ps || cp config.example.ps $@
17
18cards.pdf: gencards.sh cards.ps config.ps common.ps urls Makefile $(THEME)
19 ./gencards.sh $@ $(THEME) < urls
20
21card.pdf: gencard.sh cards.ps config.ps common.ps Makefile $(THEME)
22 ./gencard.sh $@ $(THEME)
23
24clean:
25 rm -f cards.pdf
26
27.PHONY: clean
28

Built with git-ssb-web