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

print_coreutil_files:
	@echo $(EXTRA_DIST)