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