summaryrefslogtreecommitdiffstats
path: root/m4/Makefile.am.in
blob: f5e1931dc8f4ff10dc6b542aed11c778591d5ddc (plain)
1
2
3
4
5
6
7
8
9
10
11
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 $@