From: Scott Lamb Date: Fri, 01 Jun 2007 09:46:04 GMT Subject: Re: [PATCH] catch asciidoc failures Message-ID: In-Reply-To: <20070601091030.GA2215@coredump.intra.peff.net> On Jun 1, 2007, at 2:10 AM, Jeff King wrote: > %.html : %.txt > rm -f $@+ $@ > $(ASCIIDOC) -b xhtml11 -d manpage -f asciidoc.conf \ > - $(ASCIIDOC_EXTRA) -o - $< | \ > - sed -e 's/@@GIT_VERSION@@/$(GIT_VERSION)/g' >$@+ > + $(ASCIIDOC_EXTRA) -agit_version=$(GIT_VERSION) -o $@+ $< > mv $@+ $@ Hmm, now the $@+ intermediary shouldn't be necessary anymore - with "- o" it's asciidoc's responsibility to handle the output file correctly. I think there's a lightbulb joke here somewhere. ;) -- Scott Lamb