]> Dogcows Code - chaz/multisig-backup-file/blob - Makefile
initial commit
[chaz/multisig-backup-file] / Makefile
1
2 WALLET = wallet
3
4 #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5
6 LATEX = pdflatex -halt-on-error
7 QRENCODE = qrencode
8 XPDF = xdg-open
9
10 .PHONY: all clean pdf run
11
12 all: $(WALLET).pdf
13
14 clean:
15 rm -f $(WALLET).aux
16 rm -f $(WALLET).log
17 rm -f $(WALLET).lof
18 rm -f $(WALLET).lol
19 rm -f $(WALLET).lot
20 rm -f $(WALLET).pdf
21 rm -f $(WALLET).toc
22 rm -f $(WALLET).out
23 rm -f $(WALLET).tex
24 rm -f $(WALLET).png
25
26 pdf: $(WALLET).pdf
27
28 run: pdf
29 $(XPDF) $(WALLET).pdf
30
31 $(WALLET).pdf: $(WALLET).tex $(WALLET).png
32 $(LATEX) $(WALLET)
33
34 $(WALLET).tex: $(WALLET).json
35 ./gentex.pl $< >$@
36
37 $(WALLET).png: $(WALLET).json
38 $(QRENCODE) -r $< -o $@ -s 4
39
40
This page took 0.029426 seconds and 4 git commands to generate.