automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does "missing" live here?


From: Bruce Korb
Subject: Does "missing" live here?
Date: Tue, 09 Jul 2002 18:11:42 -0700

Hi,

I would like to add this so I don't get in trouble for having
my own "missing" script:-)

$ cvs diff missing
Index: missing
===================================================================
RCS file: /cvsroot/automake/automake/lib/missing,v
retrieving revision 1.21
diff -u -r1.21 missing
--- missing     19 Apr 2002 20:55:59 -0000      1.21
+++ missing     10 Jul 2002 02:01:13 -0000
@@ -47,6 +47,12 @@
   ;;
 esac
 
+if [ -f ${0}.${1} ]
+then
+  ${0}.${1} "$@"
+  exit $?
+fi
+
 # If it does not exist, or fails to run (possibly an outdated version),
 # try to emulate it.
 case "$1" in
@@ -75,6 +81,13 @@
   makeinfo     touch the output file
   tar          try tar, gnutar, gtar, then tar without non-portable flags
   yacc         create \`y.tab.[ch]', if possible, from existing .[ch]"
+    set -- ${0}.*
+    if [ -f $1 ]
+    then
+      for f
+      do egrep '^##HELP:' $f | sed 's,##HELP: *,   ,'
+      done
+    fi
     ;;
 
   -v|--v|--ve|--ver|--vers|--versi|--versio|--version)

= =

Bruce Korb <first initial + last name at gnu dot org>
AG URL: http://autogen.sourceforge.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]