From: epg <> Date: Mon, 23 Aug 2004 03:33:03 +0000 (+0000) Subject: Add .PRECIOUS: %.1 so gmake doesn't remove .1 files if you say 'gmake foo.0'. X-Git-Url: https://diplodocus.org/git/flac-archive/commitdiff_plain/3939160bda17c95bc52906832baeaf32df76f590?ds=sidebyside;hp=ce84595af8b0b71fe7d7bc3ea388bd7784a7b91a Add .PRECIOUS: %.1 so gmake doesn't remove .1 files if you say 'gmake foo.0'. (fa-flacd.1): Replace this with an implicit rule (%.1: %). (.1.0): Replace this with a gmake implicit rule (%.0: %.1). --- diff --git a/GNUmakefile b/GNUmakefile index 0ae6f02..18db058 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -26,11 +26,11 @@ MAN=\ all: ${SCRIPTS} ${MAN} -fa-flacd.1: fa-flacd - ${POD2MAN} fa-flacd > $@ +.PRECIOUS: %.1 +%.1: % + ${POD2MAN} $< > $@ -.SUFFIXES: .1 .0 -.1.0: +%.0: %.1 ${ROFF} $< > $@ clean: