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

Re: [PATCH] Fix and clean up man page building

From
RHRaja R Harinath <rharinath@novell.com>
Date
May 20, 2005, 14:08 UTC
Message-ID
<m37jhu56ta.fsf@harinath.blr.novell.com>
In-Reply-To
<20050520133533.GA27395@diku.dk>
Hi,
Jonas Fonseca <fonseca@diku.dk> writes:
Show 11 quoted lines
> +%.7 : %.1
> +	# FIXME: this next line works around an output filename bug in asciidoc 6.0.3
> +	if [ -f "$<" ]; then mv $< $@; fi
> +
>  %.1 %.7 : %.xml
>  	xmlto man $<
> -	# FIXME: this next line works around an output filename bug in asciidoc 6.0.3
> -	[ "$@" = "git.7" ] || mv git.1 $@
>  
>  %.xml : %.txt
>  	asciidoc -b docbook -d manpage $<
That doesn't look right.  I think you want
  %.7: %.xml
      xmlto man %<
  %.1: %.xml
       xmlto man $<
       [ test -f $@ ] || mv git.1 $@
- Hari
Previous: Jonas FonsecaNext: Jonas Fonseca
Message 8 of 10 in “manpage name conflict”
  1. Sebastian KuzminskyMay 19, 2005
  2. Petr BaudisMay 19, 2005
  3. Sebastian KuzminskyMay 19, 2005
  4. Linus TorvaldsMay 19, 2005
  5. Linus TorvaldsMay 19, 2005
  6. Sebastian KuzminskyMay 19, 2005
  7. Fix and clean up man page buildingJonas Fonseca, May 20, 2005
  8. Raja R HarinathMay 20, 2005
  9. Jonas FonsecaMay 20, 2005
  10. Sebastian KuzminskyMay 20, 2005

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.