File: Makefile

package info (click to toggle)
packaging-tutorial 0.30
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,532 kB
  • sloc: makefile: 31; sh: 4
file content (14 lines) | stat: -rw-r--r-- 490 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
all: $(patsubst %.tex,%.pdf,$(wildcard *.tex))

%.pdf: %.tex
	latexmk -pdf $<

packaging-tutorial.zh_CN.pdf: packaging-tutorial.zh_CN.tex
	latexmk -pdf -xelatex $<

clean:
	latexmk -C

printable:
	pdfnup --paper a4paper --no-landscape --nup 2x4 --frame true --offset '0cm 0cm' --delta '0.5mm 0.5mm' --scale 0.965 --suffix 8 packaging-tutorial.pdf
	pdfnup --paper a4paper --landscape --nup 2x2 --frame true --offset '0cm 0cm' --delta '1mm 1mm' --scale 0.96 --suffix 4 packaging-tutorial.pdf