*** empty log message ***
[coreutils.git] / m4 / Makefile.am
blobd5a1248e27aa9fd9a2c0abcb89d8d5896380a5a9
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 c-bs-a.m4 \
9 check-decl.m4 \
10 chown.m4 \
11 codeset.m4 \
12 d-ino.m4 \
13 d-type.m4 \
14 dos.m4 \
15 error.m4 \
16 fnmatch.m4 \
17 fpending.m4 \
18 fstypename.m4 \
19 fsusage.m4 \
20 ftruncate.m4 \
21 getgroups.m4 \
22 getline.m4 \
23 getloadavg.m4 \
24 glibc.m4 \
25 glibc21.m4 \
26 gnu-source.m4 \
27 group-member.m4 \
28 iconv.m4 \
29 inttypes_h.m4 \
30 isc-posix.m4 \
31 jm-glibc-io.m4 \
32 jm-macros.m4 \
33 jm-mktime.m4 \
34 jm-winsz1.m4 \
35 jm-winsz2.m4 \
36 lchown.m4 \
37 lcmessage.m4 \
38 lib-check.m4 \
39 libintl.m4 \
40 link-follow.m4 \
41 ls-mntd-fs.m4 \
42 lstat.m4 \
43 malloc.m4 \
44 mbrtowc.m4 \
45 mbstate_t.m4 \
46 mbswidth.m4 \
47 memcmp.m4 \
48 nanosleep.m4 \
49 perl.m4 \
50 prereq.m4 \
51 progtest.m4 \
52 putenv.m4 \
53 readdir.m4 \
54 realloc.m4 \
55 regex.m4 \
56 rename.m4 \
57 rmdir-errno.m4 \
58 search-libs.m4 \
59 st_dm_mode.m4 \
60 st_mtim.m4 \
61 stat.m4 \
62 strerror_r.m4 \
63 strftime.m4 \
64 timespec.m4 \
65 uintmax_t.m4 \
66 ulonglong.m4 \
67 unlink-busy.m4 \
68 uptime.m4 \
69 utimbuf.m4 \
70 utime.m4 \
71 utimes.m4 \
72 xstrtoumax.m4
73 ##m4-files-end
75 Makefile.am: Makefile.am.in
76         rm -f $@ $@t
77         sed -n '1,/^##m4-files-begin/p' $< > $@t
78         ( (echo EXTRA_DIST = README Makefile.am.in | tr '\012' @); \
79           (echo *.m4|tr ' ' @) ) \
80           |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \
81           >> $@t
82         sed -n '/^##m4-files-end/,$$p' $< >> $@t
83         chmod a-w $@t
84         mv $@t $@