From: Raja R Harinath Date: Fri, 20 May 2005 14:08:01 GMT Subject: Re: [PATCH] Fix and clean up man page building Message-ID: In-Reply-To: <20050520133533.GA27395@diku.dk> Hi, Jonas Fonseca writes: > +%.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