diff options
author | Martin Quinson <mquinson@debian.org> | 2004-06-11 18:12:29 +0000 |
---|---|---|
committer | Martin Quinson <mquinson@debian.org> | 2004-06-11 18:12:29 +0000 |
commit | 967edf2fdd1b531638c63b8221fea46310b6ea2e (patch) | |
tree | 049f14b85781831ad26169662a34072ae58cb8d8 /Makefile.in | |
parent | d5ef4c2259909693c0f4e25cbcf3067911eee5a9 (diff) | |
download | quilt-967edf2fdd1b531638c63b8221fea46310b6ea2e.tar.gz |
fixup the manpage generation
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index 88b8af0..2de99d3 100644 --- a/Makefile.in +++ b/Makefile.in @@ -128,17 +128,18 @@ doc/README : doc/README.in doc/quilt.1: doc/quilt.1.in $(QUILT:%=quilt/%) @echo "quilt.1.in -> quilt.1" - @while read line; do \ + @here=`pwd`; \ + while read line; do \ case "$$line" in \ '@REFERENCE''@') \ for cmd in $(sort $(QUILT:%=quilt/%)) ; do \ - (bash -c ". scripts/patchfns ; LC_ALL=C . $$cmd -h")| \ + (bash -c ". scripts/patchfns ; LC_ALL=C . $$here/$$cmd -h")| \ sed -e 's/Usage: quilt //' \ -e 's/^\([^ ]*\)/\\fB\1\\fP/' \ -e 's/^/.IP "/' -e 's/$$/ " 4/' | \ head -n 1; \ echo ; \ - (bash -c ". scripts/patchfns ; LC_ALL=C . $$cmd -h")| \ + (bash -c ". scripts/patchfns ; LC_ALL=C . $$here/$$cmd -h")| \ grep -v 'Usage: quilt' | \ sed -e 's/^\t//' \ -e 's/\t/\n/' | \ |