bscpkgs/garlic/doc/slides/Makefile

30 lines
522 B
Makefile
Raw Normal View History

2021-01-13 20:18:07 +01:00
GENFIG=scaling-region.svg.tk.pdf \
sat.png.tk.pdf \
scalability.svg.tk.pdf
GENPDF=2.pdf 3.pdf
2020-11-24 18:05:16 +01:00
2021-01-13 20:18:07 +01:00
all: $(GENPDF)
keep_figs: $(GENFIG)
%.svg.pdf: %.svg Makefile
inkscape $< --export-pdf=$@
%.png.pdf: %.png Makefile
gm convert $< -density 30 $@
%.tk.pdf: %.pdf Makefile
pdftk $< output $@
%.pdf: %.mm $(GENFIG)
groff -Tpdf -e -t -p -P-p12c,16c -mm $< > $@
2020-11-23 19:06:15 +01:00
-killall -HUP mupdf
watch:
while [ 1 ]; do inotifywait -e modify *; make; done
2021-01-13 20:18:07 +01:00
.PRECIOUS: *.svg.pdf *.tk.pdf
clean:
rm -f $(GENFIG) $(GENPDF)