diff options
Diffstat (limited to 'm4/Makefile.am.in')
-rw-r--r-- | m4/Makefile.am.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/m4/Makefile.am.in b/m4/Makefile.am.in new file mode 100644 index 0000000..f5e1931 --- /dev/null +++ b/m4/Makefile.am.in | |||
@@ -0,0 +1,12 @@ | |||
1 | ## This is a template from which Makefile.am is generated. -*-Makefile-*- | ||
2 | |||
3 | Makefile.am: Makefile.am.in | ||
4 | rm -f $@ $@t | ||
5 | (echo "## Process this file with automake to produce Makefile.in."; \ | ||
6 | echo EXTRA_DIST =; \ | ||
7 | echo "EXTRA_DIST += Makefile.am.in"; \ | ||
8 | ls -1 *.m4 | sed 's/^/EXTRA_DIST += /'; echo ) \ | ||
9 | >> $@t | ||
10 | sed -n '/^Makefile\.am:/,$$p' $@.in >> $@t | ||
11 | chmod a-w $@t | ||
12 | mv $@t $@ | ||