]> git.eshelyaron.com Git - emacs.git/commitdiff
#
authorDave Love <fx@gnu.org>
Wed, 6 Oct 1999 22:10:16 +0000 (22:10 +0000)
committerDave Love <fx@gnu.org>
Wed, 6 Oct 1999 22:10:16 +0000 (22:10 +0000)
ChangeLog
mkinstalldirs [new file with mode: 0755]

index 89ed31a19e04af84388f1268738b982734490a02..f0295adabbcf4935d9beff0c17b0160d9ecfa774 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-10-06  Dave Love  <fx@gnu.org>
+
+       * Makefile.in: Add rules for config.status, configure.
+
 1999-09-07  Gerd Moellmann  <gerd@gnu.org>
 
        * configure.in (--with-sound): Removed.
diff --git a/mkinstalldirs b/mkinstalldirs
new file mode 100755 (executable)
index 0000000..319086a
--- /dev/null
@@ -0,0 +1,40 @@
+#! /bin/sh
+# mkinstalldirs --- make directory hierarchy
+# Author: Noah Friedman <friedman@prep.ai.mit.edu>
+# Created: 1993-05-16
+# Public domain
+
+# $Id: mkinstalldirs,v 1.11 1998/05/19 07:05:25 drepper dead $
+
+errstatus=0
+
+for file
+do
+   set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
+   shift
+
+   pathcomp=
+   for d
+   do
+     pathcomp="$pathcomp$d"
+     case "$pathcomp" in
+       -* ) pathcomp=./$pathcomp ;;
+     esac
+
+     if test ! -d "$pathcomp"; then
+        echo "mkdir $pathcomp" 1>&2
+
+        mkdir "$pathcomp" || lasterr=$?
+
+        if test ! -d "$pathcomp"; then
+         errstatus=$lasterr
+        fi
+     fi
+
+     pathcomp="$pathcomp/"
+   done
+done
+
+exit $errstatus
+
+# mkinstalldirs ends here