Browse Source

book target in Makefile

master
LaTeX Anon 1 year ago
parent
commit
6472ad9838
  1. 11
      Makefile

11
Makefile

@ -1,7 +1,14 @@
road2revolution-good.pdf: *.tex
all: road2revolution-book.pdf road2revolution-good.pdf
road2revolution-good.pdf: road2revolution.pdf
cp $^ $@
road2revolution.pdf: *.tex
rm -f road2revolution.aux road2revolution.log road2revolution.out road2revolution.toc road2revolution.bbl road2revolution.blg road2revolution.lot
pdflatex road2revolution.tex
pdflatex road2revolution.tex
cp road2revolution.pdf road2revolution-good.pdf
rm -f road2revolution.aux road2revolution.log road2revolution.out road2revolution.toc road2revolution.bbl road2revolution.blg road2revolution.lot
road2revolution-book.pdf: road2revolution.pdf
pdfbook2 --paper=a4paper $^

Loading…
Cancel
Save