Commit 365a8dde authored by Per Cederqvist's avatar Per Cederqvist

Run aclocal, automake and autoconf instead of creating Makefile.in via

a m4 script.
parent 347d7e51
#!/bin/sh #!/bin/sh
# $Id: mkmi,v 1.8 1996/08/25 18:45:09 ceder Exp $ # $Id: mkmi,v 1.9 1998/07/08 23:10:31 ceder Exp $
# Generate Makefile.in from Makefile.src template # Generate Makefile.in from Makefile.src template
# Copyright (C) 1994, 1995 Lysator Academic Computer Association. # Copyright (C) 1994, 1995 Lysator Academic Computer Association.
# #
...@@ -19,36 +19,19 @@ ...@@ -19,36 +19,19 @@
# #
# Please mail bug reports to bug-lyskom@lysator.liu.se. # Please mail bug reports to bug-lyskom@lysator.liu.se.
for i in \ [ -f src/server/lyskomd.h ] || {
Makefile \ echo $0: must be run from top of the source directory >&2
doc/Makefile \ exit 1
doc/man/Makefile \ }
scripts/Makefile \
src/Makefile \ rm scripts/install-sh \
src/include/Makefile \ scripts/missing \
src/include/server/Makefile \ scripts/mkinstalldirs
src/libraries/Makefile \
src/libraries/libansi/Makefile \ aclocal
src/libraries/libcommon/Makefile \ automake -a
src/libraries/libisc-new/Makefile \ autoconf
src/libraries/libisc-new/src/Makefile \
src/libraries/libmisc/Makefile \ (cd src/libraries/libisc-new && aclocal)
src/libraries/regex/Makefile \ (cd src/libraries/libisc-new && automake)
src/libraries/gnumalloc/Makefile \ (cd src/libraries/libisc-new && autoconf)
src/server/Makefile \
src/server/testsuite/Makefile \
run-support/Makefile
do
rm -f $i.in2
echo $i
m4 ./scripts/mkmi.m4 $i.src \
| sed 's/\$Id\(.*\)\$/Generated from\1/' \
> $i.in2
if cmp $i.in2 $i.in
then
rm -f $i.in2
else
rm -f $i.in
mv $i.in2 $i.in
fi
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment