Generate this Makefile.am from Makefile.am.in.
authorIvo Timmermans <ivo@lychnis.net>
Tue, 25 Apr 2000 10:22:26 +0000 (10:22 +0000)
committerIvo Timmermans <ivo@lychnis.net>
Tue, 25 Apr 2000 10:22:26 +0000 (10:22 +0000)
autogen.sh
m4/Makefile.am [deleted file]

index 6375e6f..55a27a9 100644 (file)
@@ -94,6 +94,9 @@ do
       aclocalinclude="$ACLOCAL_FLAGS"
       for k in $macrodirs; do
        if test -d $k; then
+         if test -f $k/Makefile.am.in; then
+           make -C $k -f Makefile.am.in Makefile.am
+         fi
           aclocalinclude="$aclocalinclude -I $k"
        ##else 
        ##  echo "**Warning**: No such directory \`$k'.  Ignored."
diff --git a/m4/Makefile.am b/m4/Makefile.am
deleted file mode 100644 (file)
index f60c83c..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-## Process this file with automake to produce Makefile.in   -*-Makefile-*-
-
-##m4-files-begin
-EXTRA_DIST = README Makefile.am.in malloc.m4 perl.m4 realloc.m4
-
-##m4-files-end
-
-Makefile.am: Makefile.am.in
-       rm -f $@ $@t
-       sed -n '1,/^##m4-files-begin/p' $< > $@t
-       ( echo EXTRA_DIST = README Makefile.am.in; \
-         find . -type f -name '*.m4' -print |sed 's,^\./,,' |sort ) \
-         |fmt | (tr '\012' @; echo) \
-             |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \
-               >> $@t
-       sed -n '/^##m4-files-end/,$$p' $< >> $@t
-       chmod a-w $@t
-       mv $@t $@