From: Avery Pennarun Date: Thu, 11 Feb 2010 17:20:40 +0000 (-0500) Subject: Documentation: correctly mark .md.tmp files as "precious". X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=2ea210b50b52b3bc817144fb512c9ce1bf3be0cc;p=packages%2Fb%2Fbup.git Documentation: correctly mark .md.tmp files as "precious". Otherwise, if you don't have pandoc installed, they get repeatedly regenerated for no good reason. --- diff --git a/Documentation/Makefile b/Documentation/Makefile index 0b494a9..d69aa88 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -22,7 +22,7 @@ html: $(patsubst %.1.md,%.html,$(wildcard *.md)) %.html: %.1.md.tmp Makefile $(PANDOC) -s -r markdown -w html -o $@ $< -.PRECIOUS: %.1.md.tmp +.PRECIOUS: %.md.tmp %.md.tmp: %.md Makefile rm -f $@ $@.new sed -e 's,%BUP_VERSION%,${BUP_VERSION},g' \