From 546272f4c58372cc9ddf028a01cd4f3605185b04 Mon Sep 17 00:00:00 2001 From: Sam Whited Date: Thu, 12 Jan 2017 23:50:05 -0600 Subject: [PATCH] Missing intermediates when bilding implicit rules https://www.gnu.org/software/make/manual/html_node/Pattern-Rules.html#Pattern-Rules --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index b938f9e9..c33ff195 100644 --- a/Makefile +++ b/Makefile @@ -80,9 +80,11 @@ $(OUTDIR)/%.pdf: %.xml $(XMLDEPS) $(TEXMLDEPS) -e 's|\\pageref{#\([^}]*\)}|\\pageref{\1}|g' "$(@:.pdf=.tex)" cd $(OUTDIR); xelatex -interaction=batchmode -no-shell-escape "$(notdir $(basename $@)).tex" && echo "Finished building $@" +.PRECIOUS: $(OUTDIR)/%.js $(OUTDIR)/%.js: %.js cp "$<" "$@" +.PRECIOUS: $(OUTDIR)/%.css $(OUTDIR)/%.css: %.css cp "$<" "$@"