13 lines
387 B
Makefile
13 lines
387 B
Makefile
|
## 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 $@
|