diff options
author | Jonas Smedegaard <dr@jones.dk> | 2015-03-24 18:56:10 +0100 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2015-03-24 19:05:04 +0100 |
commit | 0c5d445808f016622c08988639c3c022381bf14d (patch) | |
tree | 56f9664941fc8dc70ec5c9a371617590fbea998a | |
parent | 8221c2ef374ce7a73ee61e7e9a56bafb57da3140 (diff) |
Generalize dependencies of final targets, and include Makefile itself.
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -62,7 +62,9 @@ $(stem).native: $(stem).mw $(localfilters) $(markdown_includes:.md=.tex): %.tex: %.md pandoc -f markdown -t latex --chapters -o $@ $< -$(flavors:%=$(stem)-%.pdf): $(stem)-%.pdf: $(stem).native $(templates) $(includes) +$(flavors:%=deps-%):: $(templates) $(includes) Makefile + +$(flavors:%=$(stem)-%.pdf): $(stem)-%.pdf: $(stem).native $(deps-all) deps-% pandoc --standalone --no-tex-ligatures $(args_meta) $(args_latex) $(args_$*) -o $@ $< clean: |