of a suggestion I made to Jim Meyering (maintainer of GNU fileutils,
where I snarfed the code from :). (From: Lars Hecking
<lhecking@nmrc.ucc.ie>)
Makefile.am: Makefile.am.in
rm -f $@ $@t
sed -n '1,/^##m4-files-begin/p' $< > $@t
- ( echo EXTRA_DIST = README Makefile.am.in; \
- find . -type f -name '*.m4' -print |sed 's,^\./,,' |sort ) \
+ echo EXTRA_DIST = README Makefile.am.in *.m4 \
|fmt | (tr '\012' @; echo) \
|sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \
>> $@t
this distribution.
The Makefile.am file in this directory is automatically generated
-from the template file, Makefile.am.in. The generation will fail
-if you don't have all the right tools.
+from the template file, Makefile.am.in.
+