diff options
author | Jim Meyering <jim@meyering.net> | 2003-08-13 09:34:51 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-08-13 09:34:51 +0000 |
commit | b226b6589cc003a534629ca33b736a9a79b958cd (patch) | |
tree | 16e21ccabae7f1b8e9b4500de2cf72a1cf859df4 | |
parent | d5871aa850fcde6e31800f6b25ea3a582a74c448 (diff) | |
download | coreutils-b226b6589cc003a534629ca33b736a9a79b958cd.tar.xz |
Simplify.
-rw-r--r-- | m4/Makefile.am.in | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/m4/Makefile.am.in b/m4/Makefile.am.in index 6c1b562e6..fd7856938 100644 --- a/m4/Makefile.am.in +++ b/m4/Makefile.am.in @@ -1,17 +1,12 @@ ## This is a template from which Makefile.am is generated. -*-Makefile-*- -##m4-files-begin -##m4-files-end - Makefile.am: Makefile.am.in rm -f $@ $@t - sed -n '1,/^##m4-files-begin/p' $< > $@t - (((echo EXTRA_DIST =; \ - echo " README Makefile.am.in" \ - ) | tr '\012' @); \ - (echo *.m4|tr ' ' @) ) \ - |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \ + (echo "## Process this file with automake to produce Makefile.in."; \ + echo EXTRA_DIST =; \ + echo "EXTRA_DIST += README Makefile.am.in"; \ + ls -1 *.m4 | sed 's/^/EXTRA_DIST += /'; echo ) \ >> $@t - sed -n '/^##m4-files-end/,$$p' $< >> $@t + sed -n '/^Makefile\.am:/,$$p' $< >> $@t chmod a-w $@t mv $@t $@ |