summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in7
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/' | \