diff options
author | Jim Meyering <jim@meyering.net> | 1998-05-19 16:01:48 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-05-19 16:01:48 +0000 |
commit | e4e242e8396fb0d3770038c2be73f9d1cd108c34 (patch) | |
tree | 722006f02cdcfdabd4d37ccd2d0b9721a5f1b5d6 /m4 | |
parent | da8b83f81a215206278bdb1a24916a1d7b05cf7e (diff) | |
download | coreutils-e4e242e8396fb0d3770038c2be73f9d1cd108c34.tar.xz |
.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ChangeLog | 5 | ||||
-rw-r--r-- | m4/Makefile.am | 30 |
2 files changed, 26 insertions, 9 deletions
diff --git a/m4/ChangeLog b/m4/ChangeLog index 8d3c0d36c..ffab469ce 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +1998-05-19 Jim Meyering <meyering@ascend.com> + + * Makefile.am.in: New file. + * Makefile.am (Makefile.am): Depend on Makefile.am.in. + 1998-05-14 Jim Meyering <meyering@ascend.com> * Makefile.am (EXTRA_DIST): Add them. diff --git a/m4/Makefile.am b/m4/Makefile.am index 06f317225..f3732a19b 100644 --- a/m4/Makefile.am +++ b/m4/Makefile.am @@ -1,11 +1,23 @@ ## Process this file with automake to produce Makefile.in -*-Makefile-*- -# Generate this list with -# find . -type f -name '*.m4' -printf '%f\n'|sort |fmt |tr '\012' @ \ -# |sed 's/@$/%/;s/@/ \\@/g' |tr @% '\012\012' -EXTRA_DIST = README \ -assert.m4 check-decl.m4 chown.m4 const.m4 d-ino.m4 d-type.m4 decl.m4 \ -error.m4 getgroups.m4 getline.m4 getloadavg.m4 inttypes_h.m4 isc-posix.m4 \ -jm-macros.m4 jm-mktime.m4 jm-winsz1.m4 jm-winsz2.m4 lfs.m4 lstat.m4 \ -malloc.m4 memcmp.m4 perl.m4 prereq.m4 putenv.m4 readdir.m4 realloc.m4 \ -ssize_t.m4 stat.m4 strftime.m4 uintmax_t.m4 uptime.m4 utimbuf.m4 +##m4-files-begin +EXTRA_DIST = README assert.m4 check-decl.m4 chown.m4 const.m4 d-ino.m4 \ +d-type.m4 decl.m4 error.m4 getgroups.m4 getline.m4 getloadavg.m4 \ +inttypes_h.m4 isc-posix.m4 jm-macros.m4 jm-mktime.m4 jm-winsz1.m4 \ +jm-winsz2.m4 lchown.m4 lfs.m4 lstat.m4 malloc.m4 memcmp.m4 perl.m4 \ +prereq.m4 putenv.m4 readdir.m4 realloc.m4 ssize_t.m4 stat.m4 strftime.m4 \ +uintmax_t.m4 uptime.m4 utimbuf.m4 + +##m4-files-end + +Makefile.am: Makefile.am.in + rm -f $@ $@t + sed -n '1,/^##m4-files-begin/p' $< > $@t + ( echo EXTRA_DIST = README; \ + find . -type f -name '*.m4' -print |sed s/..// |sort ) \ + |fmt | (tr '\012' @; echo) \ + |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \ + >> $@t + sed -n '/^##m4-files-end/,$$p' $< >> $@t + chmod a-w $@t + mv $@t $@ |