[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pingus-CVS] CVS: Games/Pingus Makefile.am,1.15,1.16 configure.ac,1.9,1.
From: |
grumbel |
Subject: |
[Pingus-CVS] CVS: Games/Pingus Makefile.am,1.15,1.16 configure.ac,1.9,1.10 mkinstalldirs,1.4,1.5 |
Date: |
11 Apr 2003 01:21:23 -0000 |
Update of /var/lib/cvs/Games/Pingus
In directory dark:/tmp/cvs-serv22353
Modified Files:
Makefile.am configure.ac mkinstalldirs
Log Message:
some small bug fixes
Index: Makefile.am
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/Makefile.am,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- Makefile.am 10 Apr 2003 21:35:58 -0000 1.15
+++ Makefile.am 11 Apr 2003 01:21:21 -0000 1.16
@@ -15,10 +15,10 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-SUBDIRS = m4 intl src data doc po
+SUBDIRS = m4 intl src data doc po contrib
-EXTRA_DIST = config.rpath autogen.sh pingus.dsp pingus.dsw \
- README.languages BUGS ABOUT-NLS INSTALL.Win32
+EXTRA_DIST = config.rpath autogen.sh pingus.dsp pingus.dsw ABOUT-NLS \
+ README.languages INSTALL.Win32
ACLOCAL_AMFLAGS = -I m4
Index: configure.ac
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/configure.ac,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- configure.ac 10 Apr 2003 21:35:58 -0000 1.9
+++ configure.ac 11 Apr 2003 01:21:21 -0000 1.10
@@ -285,6 +285,7 @@
# po/Makefile will not be generated.
AC_OUTPUT( Makefile m4/Makefile intl/Makefile
+ contrib/Makefile
src/Makefile
src/actions/Makefile
src/caimagemanipulation/Makefile
Index: mkinstalldirs
===================================================================
RCS file: /var/lib/cvs/Games/Pingus/mkinstalldirs,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- mkinstalldirs 10 Apr 2003 21:35:58 -0000 1.4
+++ mkinstalldirs 11 Apr 2003 01:21:21 -0000 1.5
@@ -4,37 +4,108 @@
# Created: 1993-05-16
# Public domain
-# $Id$
-
errstatus=0
+dirmode=""
+
+usage="\
+Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
+
+# process command line arguments
+while test $# -gt 0 ; do
+ case $1 in
+ -h | --help | --h*) # -h for help
+ echo "$usage" 1>&2
+ exit 0
+ ;;
+ -m) # -m PERM arg
+ shift
+ test $# -eq 0 && { echo "$usage" 1>&2; exit 1; }
+ dirmode=$1
+ shift
+ ;;
+ --) # stop option processing
+ shift
+ break
+ ;;
+ -*) # unknown option
+ echo "$usage" 1>&2
+ exit 1
+ ;;
+ *) # first non-opt arg
+ break
+ ;;
+ esac
+done
for file
do
- set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
- shift
+ if test -d "$file"; then
+ shift
+ else
+ break
+ fi
+done
- pathcomp=
- for d
- do
- pathcomp="$pathcomp$d"
- case "$pathcomp" in
- -* ) pathcomp=./$pathcomp ;;
- esac
+case $# in
+ 0) exit 0 ;;
+esac
- if test ! -d "$pathcomp"; then
- echo "mkdir $pathcomp"
+case $dirmode in
+ '')
+ if mkdir -p -- . 2>/dev/null; then
+ echo "mkdir -p -- $*"
+ exec mkdir -p -- "$@"
+ fi
+ ;;
+ *)
+ if mkdir -m "$dirmode" -p -- . 2>/dev/null; then
+ echo "mkdir -m $dirmode -p -- $*"
+ exec mkdir -m "$dirmode" -p -- "$@"
+ fi
+ ;;
+esac
- mkdir "$pathcomp" || lasterr=$?
+for file
+do
+ set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
+ shift
- if test ! -d "$pathcomp"; then
- errstatus=$lasterr
- fi
- fi
+ pathcomp=
+ for d
+ do
+ pathcomp="$pathcomp$d"
+ case $pathcomp in
+ -*) pathcomp=./$pathcomp ;;
+ esac
- pathcomp="$pathcomp/"
- done
+ 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
+# End:
# mkinstalldirs ends here
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Pingus-CVS] CVS: Games/Pingus Makefile.am,1.15,1.16 configure.ac,1.9,1.10 mkinstalldirs,1.4,1.5,
grumbel <=
- Prev by Date:
[Pingus-CVS] CVS: Games/Pingus/po de.po,1.30,1.31 nl.po,1.18,1.19
- Next by Date:
[Pingus-CVS] CVS: Games/Pingus/src credits.cxx,1.22,1.23 layer_manager.cxx,1.4,1.5 layer_manager.hxx,1.7,1.8 menu_background.cxx,1.7,1.8
- Previous by thread:
[Pingus-CVS] CVS: Games/Pingus/po de.po,1.30,1.31 nl.po,1.18,1.19
- Next by thread:
[Pingus-CVS] CVS: Games/Pingus/src credits.cxx,1.22,1.23 layer_manager.cxx,1.4,1.5 layer_manager.hxx,1.7,1.8 menu_background.cxx,1.7,1.8
- Index(es):