Thread (7 messages) flat view 7 messages, 4 authors, 2016-06-15

Re: [PATCH] catch asciidoc failures

From: Scott Lamb <hidden>
Date: 2016-06-15 22:43:13

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 <http://www.slamb.org/>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help