[xiph-commits] r9485 - in trunk/vorbis-tools: . debian include intl
ogg123 oggdec oggenc oggenc/man ogginfo po share vcut
vorbiscomment win32
thomasvs at motherfish-iii.xiph.org
thomasvs at motherfish-iii.xiph.org
Sat Jun 18 10:09:24 PDT 2005
Author: thomasvs
Date: 2005-06-18 10:09:14 -0700 (Sat, 18 Jun 2005)
New Revision: 9485
Added:
trunk/vorbis-tools/mkinstalldirs
Removed:
trunk/vorbis-tools/.cvsignore
trunk/vorbis-tools/debian/.cvsignore
trunk/vorbis-tools/include/.cvsignore
trunk/vorbis-tools/intl/.cvsignore
trunk/vorbis-tools/ogg123/.cvsignore
trunk/vorbis-tools/oggdec/.cvsignore
trunk/vorbis-tools/oggenc/.cvsignore
trunk/vorbis-tools/oggenc/man/.cvsignore
trunk/vorbis-tools/ogginfo/.cvsignore
trunk/vorbis-tools/po/.cvsignore
trunk/vorbis-tools/share/.cvsignore
trunk/vorbis-tools/vcut/.cvsignore
trunk/vorbis-tools/vorbiscomment/.cvsignore
trunk/vorbis-tools/win32/.cvsignore
Modified:
trunk/vorbis-tools/
Log:
remove .cvsignore files; add mkinstalldirs
Property changes on: trunk/vorbis-tools
___________________________________________________________________
Name: svn:ignore
- Makefile
Makefile.in
vorbis-tools-*.zip
vorbis-tools-*.tar.gz
configure
config.rpath
config.log
config.guess
config.sub
config.status
config.h
config.h.in
depcomp
ltmain.sh
ABOUT-NLS
mkinstalldirs
stamp-h1
autom4te.cache
libtool
missing
aclocal.m4
install-sh
+ Makefile
Makefile.in
vorbis-tools-*.zip
vorbis-tools-*.tar.gz
configure
config.rpath
config.log
config.guess
config.sub
config.status
config.h
config.h.in
depcomp
ltmain.sh
ABOUT-NLS
stamp-h1
autom4te.cache
libtool
missing
aclocal.m4
install-sh
Deleted: trunk/vorbis-tools/.cvsignore
===================================================================
--- trunk/vorbis-tools/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,20 +0,0 @@
-*.pbproj
-*.tar.gz
-*.zip
-Makefile
-Makefile.in
-aclocal.m4
-autom4te.cache
-config.cache
-config.guess
-config.h.in
-config.log
-config.status
-config.sub
-configure
-depcomp
-install-sh
-libtool
-ltmain.sh
-missing
-mkinstalldirs
Deleted: trunk/vorbis-tools/debian/.cvsignore
===================================================================
--- trunk/vorbis-tools/debian/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/debian/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
Deleted: trunk/vorbis-tools/include/.cvsignore
===================================================================
--- trunk/vorbis-tools/include/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/include/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
Deleted: trunk/vorbis-tools/intl/.cvsignore
===================================================================
--- trunk/vorbis-tools/intl/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/intl/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1 +0,0 @@
-Makefile
Added: trunk/vorbis-tools/mkinstalldirs
===================================================================
--- trunk/vorbis-tools/mkinstalldirs 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/mkinstalldirs 2005-06-18 17:09:14 UTC (rev 9485)
@@ -0,0 +1,150 @@
+#! /bin/sh
+# mkinstalldirs --- make directory hierarchy
+
+scriptversion=2004-02-15.20
+
+# Original author: Noah Friedman <friedman at prep.ai.mit.edu>
+# Created: 1993-05-16
+# Public domain.
+#
+# This file is maintained in Automake, please report
+# bugs to <bug-automake at gnu.org> or send patches to
+# <automake-patches at gnu.org>.
+
+errstatus=0
+dirmode=""
+
+usage="\
+Usage: mkinstalldirs [-h] [--help] [--version] [-m MODE] DIR ...
+
+Create each directory DIR (with mode MODE, if specified), including all
+leading file name components.
+
+Report bugs to <bug-automake at gnu.org>."
+
+# process command line arguments
+while test $# -gt 0 ; do
+ case $1 in
+ -h | --help | --h*) # -h for help
+ echo "$usage"
+ exit 0
+ ;;
+ -m) # -m PERM arg
+ shift
+ test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
+ dirmode=$1
+ shift
+ ;;
+ --version)
+ echo "$0 $scriptversion"
+ exit 0
+ ;;
+ --) # stop option processing
+ shift
+ break
+ ;;
+ -*) # unknown option
+ echo "$usage" 1>&2
+ exit 1
+ ;;
+ *) # first non-opt arg
+ break
+ ;;
+ esac
+done
+
+for file
+do
+ if test -d "$file"; then
+ shift
+ else
+ break
+ fi
+done
+
+case $# in
+ 0) exit 0 ;;
+esac
+
+# Solaris 8's mkdir -p isn't thread-safe. If you mkdir -p a/b and
+# mkdir -p a/c at the same time, both will detect that a is missing,
+# one will create a, then the other will try to create a and die with
+# a "File exists" error. This is a problem when calling mkinstalldirs
+# from a parallel make. We use --version in the probe to restrict
+# ourselves to GNU mkdir, which is thread-safe.
+case $dirmode in
+ '')
+ if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
+ echo "mkdir -p -- $*"
+ exec mkdir -p -- "$@"
+ else
+ # On NextStep and OpenStep, the `mkdir' command does not
+ # recognize any option. It will interpret all options as
+ # directories to create, and then abort because `.' already
+ # exists.
+ test -d ./-p && rmdir ./-p
+ test -d ./--version && rmdir ./--version
+ fi
+ ;;
+ *)
+ if mkdir -m "$dirmode" -p --version . >/dev/null 2>&1 &&
+ test ! -d ./--version; then
+ echo "mkdir -m $dirmode -p -- $*"
+ exec mkdir -m "$dirmode" -p -- "$@"
+ else
+ # Clean up after NextStep and OpenStep mkdir.
+ for d in ./-m ./-p ./--version "./$dirmode";
+ do
+ test -d $d && rmdir $d
+ done
+ fi
+ ;;
+esac
+
+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"
+
+ mkdir "$pathcomp" || lasterr=$?
+
+ if test ! -d "$pathcomp"; then
+ errstatus=$lasterr
+ else
+ if test ! -z "$dirmode"; then
+ echo "chmod $dirmode $pathcomp"
+ lasterr=""
+ chmod "$dirmode" "$pathcomp" || lasterr=$?
+
+ if test ! -z "$lasterr"; then
+ errstatus=$lasterr
+ fi
+ fi
+ fi
+ fi
+
+ pathcomp="$pathcomp/"
+ done
+done
+
+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:
Property changes on: trunk/vorbis-tools/mkinstalldirs
___________________________________________________________________
Name: svn:executable
+ *
Deleted: trunk/vorbis-tools/ogg123/.cvsignore
===================================================================
--- trunk/vorbis-tools/ogg123/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/ogg123/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,5 +0,0 @@
-ogg123
-.libs
-.deps
-Makefile
-Makefile.in
Deleted: trunk/vorbis-tools/oggdec/.cvsignore
===================================================================
--- trunk/vorbis-tools/oggdec/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/oggdec/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,5 +0,0 @@
-oggdec
-.libs
-.deps
-Makefile
-Makefile.in
Deleted: trunk/vorbis-tools/oggenc/.cvsignore
===================================================================
--- trunk/vorbis-tools/oggenc/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/oggenc/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,5 +0,0 @@
-oggenc
-.libs
-.deps
-Makefile
-Makefile.in
Deleted: trunk/vorbis-tools/oggenc/man/.cvsignore
===================================================================
--- trunk/vorbis-tools/oggenc/man/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/oggenc/man/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,2 +0,0 @@
-Makefile
-Makefile.in
Deleted: trunk/vorbis-tools/ogginfo/.cvsignore
===================================================================
--- trunk/vorbis-tools/ogginfo/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/ogginfo/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,5 +0,0 @@
-ogginfo
-.libs
-.deps
-Makefile
-Makefile.in
Deleted: trunk/vorbis-tools/po/.cvsignore
===================================================================
--- trunk/vorbis-tools/po/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/po/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,3 +0,0 @@
-Makefile.in
-Makefile
-POTFILES
Deleted: trunk/vorbis-tools/share/.cvsignore
===================================================================
--- trunk/vorbis-tools/share/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/share/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,3 +0,0 @@
-Makefile
-Makefile.in
-.deps
Deleted: trunk/vorbis-tools/vcut/.cvsignore
===================================================================
--- trunk/vorbis-tools/vcut/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/vcut/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,5 +0,0 @@
-vcut
-.libs
-.deps
-Makefile
-Makefile.in
Deleted: trunk/vorbis-tools/vorbiscomment/.cvsignore
===================================================================
--- trunk/vorbis-tools/vorbiscomment/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/vorbiscomment/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,5 +0,0 @@
-vorbiscomment
-Makefile
-Makefile.in
-.libs
-.deps
Deleted: trunk/vorbis-tools/win32/.cvsignore
===================================================================
--- trunk/vorbis-tools/win32/.cvsignore 2005-06-18 17:04:46 UTC (rev 9484)
+++ trunk/vorbis-tools/win32/.cvsignore 2005-06-18 17:09:14 UTC (rev 9485)
@@ -1,10 +0,0 @@
-Debug
-Release
-*.plg
-*.ncb
-*.aps
-*.mak
-*.dep
-test.ogg
-Makefile.in
-Makefile
More information about the commits
mailing list