connessioni-caotiche/2019/programma/Makefile

43 lines
689 B
Makefile
Raw Permalink Normal View History

2019-04-30 18:46:57 +02:00
a4.pdf: main.md
pandoc\
--standalone\
-V urlcolor=RedViolet\
-V papersize:A4\
$< -o $@
a4.ps: a4.pdf
pdf2ps $< $@
a4-signature.ps: a4.ps
psbook $< $@
a5-signature.ps: a4-signature.ps
psnup -2 $< $@
a5-signature.pdf: a5-signature.ps
ps2pdf $< $@
.PHONY: clean
clean:
rm -f a4.pdf
rm -f a4.ps
rm -f a4-signature.pdf
rm -f a4-signature.ps
rm -f a5-signature.pdf
rm -f a5-signature.ps
.PHONY: help
help:
@echo "Usage:"
@echo " make TARGET"
@echo
@echo "Available targets:"
@echo " a4.pdf"
@echo " a4.ps"
@echo " a4-signature.pdf"
@echo " a4-signature.ps"
@echo " a5-signature.pdf"
@echo " a5-signature.ps"
@echo " clean"
@echo " help"