summaryrefslogtreecommitdiff
path: root/m4/Makefile.am.in
blob: 9afe9a180e50bf90a51bebfba498b0a25af58c39 (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' $< >> $@t
	chmod a-w $@t
	mv $@t $@