diff --git a/Makefile b/Makefile index 893b3d2..db00a3f 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +.PHONY: examples -test: - cd examples/ ; for f in *.tex; do xelatex $$f; done +examples: $(foreach x,coverletter cv resume,examples/$x.pdf) + +%.pdf: %.tex + xelatex -output-directory=$(dir $<) $<