diff options
author | Jim Meyering <jim@meyering.net> | 1998-12-18 14:49:01 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-12-18 14:49:01 +0000 |
commit | 58a77bf4f691c591173d491946462dce16cbab44 (patch) | |
tree | 8966d8d454d1bcdb8472efe0fd39c587d6d2b36e /m4 | |
parent | 344f43313d7d5a2a11855f1162c1ecc0bff2cf13 (diff) | |
download | coreutils-58a77bf4f691c591173d491946462dce16cbab44.tar.xz |
(Makefile.am): Simplify rule.
Based on suggestion from Lars Hecking.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/Makefile.am.in | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/m4/Makefile.am.in b/m4/Makefile.am.in index aa68ff973..fac31572b 100644 --- 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 |