]> sourceware.org Git - automake.git/commitdiff
2003-06-14 Karl Berry <karl@gnu.org>
authorAlexandre Duret-Lutz <adl@gnu.org>
Sat, 14 Jun 2003 22:01:41 +0000 (22:01 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Sat, 14 Jun 2003 22:01:41 +0000 (22:01 +0000)
    Alexandre Duret-Lutz  <adl@gnu.org>

* mkinstalldirs (scriptversion): New variable.  Setup emacs hooks
to update it each time the file is written, as in install-sh.
(usage): Improve message.
(--version): New option.
(--help): Output to stdout, not stderr.

ChangeLog
lib/mkinstalldirs

index f8570b7d7b37268e78e768c8880ae7a42647460d..bc20e14fa0cc612e7bc1ae9369b6d0c14f321b84 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2003-06-14  Karl Berry  <karl@gnu.org>
+           Alexandre Duret-Lutz  <adl@gnu.org>
+
+       * mkinstalldirs (scriptversion): New variable.  Setup emacs hooks
+       to update it each time the file is written, as in install-sh.
+       (usage): Improve message.
+       (--version): New option.
+       (--help): Output to stdout, not stderr.
+
 2003-06-13  Paul Eggert  <eggert@twinsun.com>
 
        * lib/install.sh (dsttmp, rmtmp): Do not use '#' in file names;
index e26e71490232cf88be93cf1087da43e5b92a3253..8065dadd90aa58b4de3feac4287651bb73ff26ba 100755 (executable)
@@ -1,20 +1,26 @@
 #! /bin/sh
 # mkinstalldirs --- make directory hierarchy
-# Author: Noah Friedman <friedman@prep.ai.mit.edu>
+# Original author: Noah Friedman <friedman@prep.ai.mit.edu>
 # Created: 1993-05-16
-# Public domain
+# Public domain.
+
+scriptversion=2003-06-14.23
 
 errstatus=0
 dirmode=""
 
 usage="\
-Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
+Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
+
+Create each directory DIR (with mode MODE, if specified), including all
+leading file name components.
+"
 
 # process command line arguments
 while test $# -gt 0 ; do
   case $1 in
     -h | --help | --h*)         # -h for help
-      echo "$usage" 1>&2
+      echo "$usage"
       exit 0
       ;;
     -m)                         # -m PERM arg
@@ -23,6 +29,10 @@ while test $# -gt 0 ; do
       dirmode=$1
       shift
       ;;
+    --version)
+      echo "$0 $scriptversion"
+      exit 0
+      ;;
     --)                         # stop option processing
       shift
       break
@@ -107,5 +117,8 @@ exit $errstatus
 # Local Variables:
 # mode: shell-script
 # sh-indentation: 2
+# eval: (add-hook 'write-file-hooks 'time-stamp)
+# time-stamp-start: "scriptversion="
+# time-stamp-format: "%:y-%02m-%02d.%02H"
+# time-stamp-end: "$"
 # End:
-# mkinstalldirs ends here
This page took 0.029415 seconds and 5 git commands to generate.