Mercurial > hg > octave-nkf > gnulib-hg
changeset 1370:b1a1a1262910
.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Tue, 19 May 1998 16:01:48 +0000 |
parents | 9783ade07d04 |
children | d86cd9ac1d33 |
files | m4/ChangeLog m4/Makefile.am m4/Makefile.in |
diffstat | 3 files changed, 44 insertions(+), 19 deletions(-) [+] |
line wrap: on
line diff
--- 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.
--- 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 $@
--- a/m4/Makefile.in +++ b/m4/Makefile.in @@ -10,10 +10,6 @@ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A # PARTICULAR PURPOSE. -# Generate this list with -# find . -type f -name '*.m4' -printf '%f\n'|sort |fmt |tr '\012' @ \ -# |sed 's/@$/%/;s/@/ \\@/g' |tr @% '\012\012' - SHELL = /bin/sh @@ -92,12 +88,12 @@ VERSION = @VERSION@ l = @l@ -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 +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 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs CONFIG_HEADER = ../config.h CONFIG_CLEAN_FILES = @@ -190,6 +186,18 @@ maintainer-clean +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 $@ + # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: