From 4e4aaf83dbd5a8a9779f5cf411ac0231bf3bf22b Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Thu, 1 Dec 2005 13:13:39 +0000 Subject: Make sure that the manpage is generated without translation in it, disregarding the settings of the build host --- Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 89aaed4..dc861bf 100644 --- a/Makefile.in +++ b/Makefile.in @@ -191,14 +191,14 @@ doc/quilt.1: doc/quilt.1.in $(QUILT:%=quilt/%) compat-programs case "$$line" in \ '@REFERENCE''@') \ for cmd in $(sort $(QUILT:%=quilt/%)) ; do \ - ($(BASH) -c ". scripts/patchfns ; LC_ALL=C . $$here/$$cmd -h")| \ - sed -e 's/Usage: quilt //' \ + (LANG=C LC_MESSAGES=C LC_ALL=C $(BASH) -c ". scripts/patchfns ; . $$here/$$cmd -h")| \ + sed -e 's/Usage: *quilt *//i' \ -e 's/^\([^ ]*\)/\\fB\1\\fP/' \ -e 's/^/.IP "/' -e 's/$$/ " 4/' | \ head -n 1; \ echo ; \ - ($(BASH) -c ". scripts/patchfns ; LC_ALL=C . $$here/$$cmd -h")| \ - grep -v 'Usage: quilt' | \ + (LANG=C LC_MESSAGES=C LC_ALL=C $(BASH) -c ". scripts/patchfns ; . $$here/$$cmd -h")| \ + grep -v 'Usage: *quilt' | \ sed -e $$'s/^\t//' \ -e $$'s/\t/\\\n/' | \ sed -e 's/^\(-.*\)$$/.IP " \1" 8/' \ -- cgit