Re: [PATCH] catch asciidoc failures
- From
- Scott Lamb <slamb@slamb.org>
- Date
- Jun 1, 2007, 09:46 UTC
- Message-ID
- <FA77F6B4-2BC0-4714-9A82-749F70291BD0@slamb.org>
- In-Reply-To
- <20070601091030.GA2215@coredump.intra.peff.net>
On Jun 1, 2007, at 2:10 AM, Jeff King wrote:
Show 7 quoted lines
> %.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 <http://www.slamb.org/>