aboutsummaryrefslogtreecommitdiff
path: root/m4/Makefile.am.in
diff options
context:
space:
mode:
Diffstat (limited to 'm4/Makefile.am.in')
-rw-r--r--m4/Makefile.am.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/m4/Makefile.am.in b/m4/Makefile.am.in
new file mode 100644
index 00000000..f5e1931d
--- /dev/null
+++ b/m4/Makefile.am.in
@@ -0,0 +1,12 @@
+## This is a template from which Makefile.am is generated. -*-Makefile-*-
+
+Makefile.am: Makefile.am.in
+ rm -f $@ $@t
+ (echo "## Process this file with automake to produce Makefile.in."; \
+ echo EXTRA_DIST =; \
+ echo "EXTRA_DIST += Makefile.am.in"; \
+ ls -1 *.m4 | sed 's/^/EXTRA_DIST += /'; echo ) \
+ >> $@t
+ sed -n '/^Makefile\.am:/,$$p' $@.in >> $@t
+ chmod a-w $@t
+ mv $@t $@