*** empty log message ***
[coreutils.git] / m4 / Makefile.am
blob7923df8e1b1e17023f0ea22d0e1d9c2f806ffa9f
1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
3 ##m4-files-begin
4 EXTRA_DIST = README Makefile.am.in \
5 afs.m4 \
6 assert.m4 \
7 bison.m4 \
8 check-decl.m4 \
9 chown.m4 \
10 d-ino.m4 \
11 d-type.m4 \
12 decl.m4 \
13 error.m4 \
14 fnmatch.m4 \
15 fstypename.m4 \
16 getgroups.m4 \
17 getline.m4 \
18 getloadavg.m4 \
19 gettext.m4 \
20 glibc.m4 \
21 group-member.m4 \
22 inttypes_h.m4 \
23 isc-posix.m4 \
24 jm-glibc-io.m4 \
25 jm-macros.m4 \
26 jm-mktime.m4 \
27 jm-winsz1.m4 \
28 jm-winsz2.m4 \
29 largefile.m4 \
30 lchown.m4 \
31 lcmessage.m4 \
32 link-follow.m4 \
33 ls-mntd-fs.m4 \
34 lstat.m4 \
35 malloc.m4 \
36 memcmp.m4 \
37 perl.m4 \
38 prereq.m4 \
39 progtest.m4 \
40 putenv.m4 \
41 readdir.m4 \
42 realloc.m4 \
43 regex.m4 \
44 search-libs.m4 \
45 st_dm_mode.m4 \
46 st_mtim.m4 \
47 stat.m4 \
48 strftime.m4 \
49 uintmax_t.m4 \
50 ulonglong.m4 \
51 uptime.m4 \
52 utimbuf.m4 \
53 utime.m4 \
54 utimes.m4 \
55 xstrtoumax.m4
56 ##m4-files-end
58 Makefile.am: Makefile.am.in
59         rm -f $@ $@t
60         sed -n '1,/^##m4-files-begin/p' $< > $@t
61         ( (echo EXTRA_DIST = README Makefile.am.in | tr '\012' @); \
62           (echo *.m4|tr ' ' @) ) \
63           |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \
64           >> $@t
65         sed -n '/^##m4-files-end/,$$p' $< >> $@t
66         chmod a-w $@t
67         mv $@t $@