chiark
/
gitweb
/
~mdw
/
runlisp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Uprate build system again, for new style.
[runlisp]
/
mdw-setup
diff --git
a/mdw-setup
b/mdw-setup
index 57dbd906fe7af99301f2dcbf86f0fc2aa42bba93..f60a45efb575b5456ec206b2fc0e577b92061da6 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 &&
@@
-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 -------------------------------------------------