summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-07-18 18:04:14 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-07-18 18:04:14 +0000
commit8a20f98cfbd963828a7068d315e14f666c332a1f (patch)
treee21227d3957de168650efdbd13cb7d9291338fdd /m4
parent9e029aa65d78f3a51d136766f3999dcf44a94e3a (diff)
Long-overdue build system overhaul.
Diffstat (limited to 'm4')
-rw-r--r--m4/Makefile.am6
-rw-r--r--m4/Makefile.am.in15
-rw-r--r--m4/README4
3 files changed, 6 insertions, 19 deletions
diff --git a/m4/Makefile.am b/m4/Makefile.am
new file mode 100644
index 00000000..26eb235b
--- /dev/null
+++ b/m4/Makefile.am
@@ -0,0 +1,6 @@
+EXTRA_DIST = README
+
+dist-hook:
+ for i in $(srcdir)/*.m4 ; do \
+ echo cp -p $$i $(distdir) ; \
+ done
diff --git a/m4/Makefile.am.in b/m4/Makefile.am.in
deleted file mode 100644
index d4802c38..00000000
--- a/m4/Makefile.am.in
+++ /dev/null
@@ -1,15 +0,0 @@
-## Process this file with automake to produce Makefile.in -*-Makefile-*-
-
-##m4-files-begin
-##m4-files-end
-
-Makefile.am: Makefile.am.in
- rm -f $@ $@t
- sed -n '1,/^##m4-files-begin/p' Makefile.am.in > $@t
- ( (echo EXTRA_DIST = README Makefile.am.in | tr '\012' @); \
- (echo *.m4|tr ' ' @) ) \
- |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \
- >> $@t
- sed -n '/^##m4-files-end/,$$p' Makefile.am.in >> $@t
- chmod a-w $@t
- mv $@t $@
diff --git a/m4/README b/m4/README
index 5e9b3a89..ac32e284 100644
--- a/m4/README
+++ b/m4/README
@@ -2,7 +2,3 @@ These files are used by a program called aclocal (part of the GNU automake
package). aclocal uses these files to create aclocal.m4 which is in turn
used by autoconf to create the configure script at the the top level in
this distribution.
-
-The Makefile.am file in this directory is automatically generated
-from the template file, Makefile.am.in.
-