Mercurial > hg > octave-nkf > gnulib-hg
changeset 1572:76c2c5d39314
(Makefile.am): Simplify rule.
Based on suggestion from Lars Hecking.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Fri, 18 Dec 1998 14:49:01 +0000 |
parents | 1d40278d4afa |
children | 86e77ce1dd16 |
files | m4/Makefile.am.in |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/Makefile.am.in +++ b/m4/Makefile.am.in @@ -6,10 +6,9 @@ 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 ) \ - |fmt | (tr '\012' @; echo) \ - |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \ + echo EXTRA_DIST = README Makefile.am.in *.m4; \ + |fmt | (tr '\012' @; echo) \ + |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \ >> $@t sed -n '/^##m4-files-end/,$$p' $< >> $@t chmod a-w $@t