X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2FMakefile.am;h=42c5545abc6184e40ef941986789198403303a39;hb=7b795da9ee4cdc765d6272a91a8eeba48c696394;hp=293485a977602563bb0abb0a90e056437df1b4ac;hpb=e2c0068957c800f5a3a040a3e194f88851e72a27;p=gnulib.git diff --git a/m4/Makefile.am b/m4/Makefile.am index 293485a97..42c5545ab 100644 --- a/m4/Makefile.am +++ b/m4/Makefile.am @@ -1,9 +1,77 @@ -## Process this file with automake to produce Makefile.in +## 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 \ -chown.m4 getgroups.m4 getline.m4 getloadavg.m4 gettext.m4 jm-mktime.m4 \ -jm-winsz1.m4 jm-winsz2.m4 lcmessage.m4 memcmp.m4 mktime.m4 progtest.m4 \ -strftime.m4 uptime.m4 +##m4-files-begin +EXTRA_DIST = README Makefile.am.in \ +afs.m4 \ +assert.m4 \ +bison.m4 \ +c-bs-a.m4 \ +check-decl.m4 \ +chown.m4 \ +codeset.m4 \ +d-ino.m4 \ +d-type.m4 \ +error.m4 \ +fnmatch.m4 \ +fstypename.m4 \ +fsusage.m4 \ +ftruncate.m4 \ +getgroups.m4 \ +getline.m4 \ +getloadavg.m4 \ +glibc.m4 \ +glibc21.m4 \ +group-member.m4 \ +iconv.m4 \ +inttypes_h.m4 \ +isc-posix.m4 \ +jm-glibc-io.m4 \ +jm-macros.m4 \ +jm-mktime.m4 \ +jm-winsz1.m4 \ +jm-winsz2.m4 \ +lchown.m4 \ +lcmessage.m4 \ +lib-check.m4 \ +libintl.m4 \ +link-follow.m4 \ +ls-mntd-fs.m4 \ +lstat.m4 \ +malloc.m4 \ +mbstate_t.m4 \ +memcmp.m4 \ +nanosleep.m4 \ +perl.m4 \ +prereq.m4 \ +progtest.m4 \ +putenv.m4 \ +readdir.m4 \ +realloc.m4 \ +regex.m4 \ +rmdir-errno.m4 \ +search-libs.m4 \ +st_dm_mode.m4 \ +st_mtim.m4 \ +stat.m4 \ +strerror_r.m4 \ +strftime.m4 \ +timespec.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 $@