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