56 |
|
|
57 |
|
|
58 |
|
|
59 |
touch .depend && |
touch .depend && \ |
60 |
echo " + running autoconf..." |
echo " + running autoconf..." && \ |
61 |
autoconf && |
autoconf && \ |
62 |
echo " + ./configure" |
echo " + ./configure" && \ |
63 |
./configure |
./configure && \ |
64 |
echo " + generating Makefiles in subdirectories ..." |
echo " + generating Makefiles in subdirectories ..." && \ |
65 |
for i in $SUBDIRS;\ |
for i in $SUBDIRS;\ |
66 |
do \ |
do \ |
67 |
REPLACED=`echo $i | tr a-z A-Z`;\ |
REPLACED=`echo $i | tr a-z A-Z`;\ |
68 |
echo " + Generating $i/Makefile ...";\ |
echo " + Generating $i/Makefile ...";\ |
69 |
sed "s/SUBDIR_NAME/$REPLACED/g" subdirs.Makefile > $i/Makefile;\ |
sed "s/SUBDIR_NAME/$REPLACED/g" subdirs.Makefile > $i/Makefile;\ |
70 |
done |
done && \ |
71 |
echo " /" |
echo " /" && \ |
72 |
echo " | now, you can run 'make', make byte', 'make opt', 'make doc', 'make clean', etc." |
echo " | now, you can run 'make', make byte', 'make opt', 'make doc', 'make clean', etc." && \ |
73 |
echo " \\" |
echo " \\" |