git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] catch asciidoc failures

From
SLScott 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/>
Previous: Jeff King
Message 7 of 7 in “catch asciidoc failures”
  1. catch asciidoc failuresScott Lamb, Jun 1, 2007
  2. Martin WaitzJun 1, 2007
  3. Jonas FonsecaJun 1, 2007
  4. Jeff KingJun 1, 2007
  5. Martin WaitzJun 1, 2007
  6. Jeff KingJun 1, 2007
  7. Scott LambJun 1, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.