Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEX=latexmk
- OUT_FOLDER=.out
- OPTS=-output-directory=${OUT_FOLDER} -pdf
- PDF_VIEWER=okular
- PDFS=YOUR_PDF.pdf
- main: ${PDFS}
- %.pdf : %.tex
- ${TEX} ${OPTS} $<
- cp ${OUT_FOLDER}/$@ $@
- show: main
- ${PDF_VIEWER} ${PDFS}
- clean:
- ${TEX} ${OPTS} -c
- clean-all:
- ${TEX} ${OPTS} -C
- rm -f ${PDFS}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement