diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/exam-n/sample/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/exam-n/sample/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/exam-n/sample/Makefile b/Master/texmf-dist/doc/latex/exam-n/sample/Makefile new file mode 100644 index 00000000000..ff34e72ae46 --- /dev/null +++ b/Master/texmf-dist/doc/latex/exam-n/sample/Makefile @@ -0,0 +1,16 @@ +all: sample_exam.pdf + +sample_exam.pdf: numerical1-solution.pdf + +sample_exam_solution.pdf: sample_exam_solution.tex + +sample_exam_solution.tex: sample_exam.tex + rm -f $@ + sed '1s/documentclass/documentclass[showsolutions]/' sample_exam.tex >sample_exam_solution.tex + +%.pdf: %.tex + TEXINPUTS=..: pdflatex $< + if grep 'Rerun to get cross' ${<:.tex=.log}; then TEXINPUTS=..: pdflatex $<; else :; fi + +clean: + rm -f sample_exam*.pdf sample_exam_solution.tex *.log *.aux |