~mdw
/
mLib
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
aclocal.glob: Clean up bad whitespace.
[mLib]
/
mdw-setup
diff --git
a/mdw-setup
b/mdw-setup
index
57dbd90
..
ab62f09
100755
(executable)
--- a/
mdw-setup
+++ b/
mdw-setup
@@
-1,7
+1,7
@@
#! /bin/sh
### -*-sh-*-
###
#! /bin/sh
### -*-sh-*-
###
-###
Create links to the repository
+###
Set up a new project
###
### (c) 1997 Mark Wooding
###
###
### (c) 1997 Mark Wooding
###
@@
-66,7
+66,7
@@
fi
###--------------------------------------------------------------------------
### Do any initial local stuff.
###--------------------------------------------------------------------------
### Do any initial local stuff.
-[ -x build-setup ] && ./build-setup start
+if [ -x build-setup ]; then ./build-setup start; fi
###--------------------------------------------------------------------------
### Grind through the Autoconf machinery.
###--------------------------------------------------------------------------
### Grind through the Autoconf machinery.
@@
-76,7
+76,7
@@
for i in configure.ac configure.in; do
[ -f $i ] && configure=$i
done
if [ "$configure" ]; then
[ -f $i ] && configure=$i
done
if [ "$configure" ]; then
- grep >/dev/null AM_PROG_LIBTOOL $configure && libtoolize
+ grep >/dev/null AM_PROG_LIBTOOL $configure && libtoolize
-f
find . -name Makefile.m4 -print | while read m4; do
dir=$(echo $m4 | sed 's:/[^/]*$::')
(cd $dir &&
find . -name Makefile.m4 -print | while read m4; do
dir=$(echo $m4 | sed 's:/[^/]*$::')
(cd $dir &&
@@
-89,7
+89,7
@@
if [ "$configure" ]; then
autoconf --force
if grep >/dev/null 'AC_CONFIG_AUX_DIR' $configure; then
auxdir=$(
autoconf --force
if grep >/dev/null 'AC_CONFIG_AUX_DIR' $configure; then
auxdir=$(
- sed -n 's:^.*AC_CONFIG_AUX_DIR(\[\
?\([^])]*\)\]\?
).*$:\1:p' $configure)
+ sed -n 's:^.*AC_CONFIG_AUX_DIR(\[\
{0,1\}\([^])]*\)\]\{0,1\}
).*$:\1:p' $configure)
mkdir -p $auxdir
fi
grep >/dev/null 'A[MC]_CONFIG_HEADER' $configure && autoheader
mkdir -p $auxdir
fi
grep >/dev/null 'A[MC]_CONFIG_HEADER' $configure && autoheader
@@
-99,6
+99,6
@@
fi
###--------------------------------------------------------------------------
### Do any final local stuff.
###--------------------------------------------------------------------------
### Do any final local stuff.
-[ -x build-setup ] && ./build-setup end
+if [ -x build-setup ]; then ./build-setup end; fi
###------ That's all, folks -------------------------------------------------
###------ That's all, folks -------------------------------------------------