Skip to content

Commit

Permalink
Documentation: correctly mark .md.tmp files as "precious".
Browse files Browse the repository at this point in the history
Otherwise, if you don't have pandoc installed, they get repeatedly
regenerated for no good reason.
  • Loading branch information
apenwarr committed Feb 11, 2010
1 parent 6e41d84 commit 2ea210b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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' \
Expand Down

0 comments on commit 2ea210b

Please sign in to comment.