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

Re: [install info (using perl) 1/2] Add support for an info version of the user manual

From
David Kastrup <dak@gnu.org>
Date
Aug 8, 2007, 23:27 UTC
Message-ID
<85fy2tppys.fsf@lola.goethe.zz>
In-Reply-To
<7v643p1vbr.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <gitster@pobox.com> writes:
Show 12 quoted lines
> Junio C Hamano <gitster@pobox.com> writes:
>
>> David Kastrup <dak@gnu.org> writes:
>>
>>> @@ -139,6 +154,18 @@ XSLTOPTS = --xinclude --stringparam html.stylesheet docbook-xsl.css
>>>  user-manual.html: user-manual.xml
>>>  	xsltproc $(XSLTOPTS) -o $@ $(XSLT) $<
>>>  
>>> +git.info: user-manual.xml
>>> +	$(RM) $@ $*.texi
>>> +	$(DOCBOOK2X_TEXI) user-manual.xml --to-stdout | \
>>> +	perl -ne 'if (/^\@setfilename/) {$$_="\@setfilename git.info\
[...]
> Aside from possible portability issue of multi-line script, there is
> another slight problem I am not sure if it is worth fixing.  If you
> do not have docbook2x-texi installed, nobody notices that resulting
> $*.texi was a garbage and an almost empty git.info is generated.
Good catch.
-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum
Previous: David KastrupNext: David Kastrup
Message 7 of 8 in “[install info (using perl) 1/2] Add support for an info version of the user manual”
  1. David KastrupAug 6, 2007
  2. 2/2 INSTALL: explain info installation and dependencies.David Kastrup, Aug 7, 2007
  3. Junio C HamanoAug 8, 2007
  4. Junio C HamanoAug 8, 2007
  5. Junio C HamanoAug 8, 2007
  6. David KastrupAug 8, 2007
  7. David KastrupAug 8, 2007
  8. David KastrupAug 8, 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.