X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2FMakefile.am;h=b666eb230bb1bd6ef9b672afef1e0a194647d36e;hb=30b5040b9ab015c4d64206b4ce482917a151a395;hp=9a0d58afed8f2e9f72151633bdce7e014fadd5c7;hpb=15b00a2b2096fc0f68cc3f51cec41a5e6e995326;p=gnulib.git diff --git a/m4/Makefile.am b/m4/Makefile.am index 9a0d58afe..b666eb230 100644 --- a/m4/Makefile.am +++ b/m4/Makefile.am @@ -1,10 +1,68 @@ -AUTOMAKE_OPTIONS = gnits 1.1k +## Process this file with automake to produce Makefile.in -*-Makefile-*- -# Generate this list with -# find . -type f -name '*.m4' -printf '%f\n'|sort |fmt -EXTRA_DIST = \ -ccstdc.m4 dmalloc.m4 error.m4 getgroups.m4 getline.m4 getloadavg.m4 -gettext.m4 header.m4 init.m4 install.m4 jm-mktime.m4 jm-winsz1.m4 -jm-winsz2.m4 lcmessage.m4 lispdir.m4 maintainer.m4 memcmp.m4 mktime.m4 -obstack.m4 progtest.m4 protos.m4 ptrdiff.m4 regex.m4 sanity.m4 strftime.m4 -strtod.m4 termios.m4 uptime.m4 winsz.m4 +##m4-files-begin +EXTRA_DIST = README Makefile.am.in \ +afs.m4 \ +assert.m4 \ +check-decl.m4 \ +check-type.m4 \ +chown.m4 \ +const.m4 \ +d-ino.m4 \ +d-type.m4 \ +decl.m4 \ +error.m4 \ +fnmatch.m4 \ +fstypename.m4 \ +getgroups.m4 \ +getline.m4 \ +getloadavg.m4 \ +gettext.m4 \ +glibc.m4 \ +group-member.m4 \ +inttypes_h.m4 \ +isc-posix.m4 \ +jm-glibc-io.m4 \ +jm-macros.m4 \ +jm-mktime.m4 \ +jm-winsz1.m4 \ +jm-winsz2.m4 \ +largefile.m4 \ +lchown.m4 \ +lcmessage.m4 \ +ls-mntd-fs.m4 \ +lstat.m4 \ +malloc.m4 \ +memcmp.m4 \ +mktime.m4 \ +perl.m4 \ +prereq.m4 \ +progtest.m4 \ +putenv.m4 \ +readdir.m4 \ +realloc.m4 \ +regex.m4 \ +search-libs.m4 \ +st_dm_mode.m4 \ +st_mtim.m4 \ +stat.m4 \ +strftime.m4 \ +uintmax_t.m4 \ +ulonglong.m4 \ +uptime.m4 \ +utimbuf.m4 \ +utime.m4 \ +utimes.m4 \ +xstrtoumax.m4 +##m4-files-end + +Makefile.am: Makefile.am.in + rm -f $@ $@t + sed -n '1,/^##m4-files-begin/p' $< > $@t + ( (echo EXTRA_DIST = README Makefile.am.in | tr '\012' @); \ + (echo *.m4|tr ' ' @) ) \ + |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \ + >> $@t + sed -n '/^##m4-files-end/,$$p' $< >> $@t + chmod a-w $@t + mv $@t $@