PDF_FILES=logsheet.DL1XXXX.pdf logsheet.DN1XXXX.trainee.pdf logsheet.DL1XXXX.traineestroke.pdf pdf: $(PDF_FILES) $(MAKE) mostlyclean # create logsheet.CALLSIGN.var.tex from logsheet.tex logsheet.%.tex: logsheet.tex cp -v $< $@ # clear latex intermediate files for all generated files srctexfiles += $(PDF_FILES:.pdf=.tex)