*** empty log message ***
[coreutils.git] / m4 / Makefile.am
blob9a64c23a2ec20ad4a1b205c01bfe0e1e3e967a1e
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 check-decl.m4 \
8 check-type.m4 \
9 chown.m4 \
10 const.m4 \
11 d-ino.m4 \
12 d-type.m4 \
13 decl.m4 \
14 error.m4 \
15 fnmatch.m4 \
16 fstypename.m4 \
17 getgroups.m4 \
18 getline.m4 \
19 getloadavg.m4 \
20 gettext.m4 \
21 glibc.m4 \
22 group-member.m4 \
23 inttypes_h.m4 \
24 isc-posix.m4 \
25 jm-glibc-io.m4 \
26 jm-macros.m4 \
27 jm-mktime.m4 \
28 jm-winsz1.m4 \
29 jm-winsz2.m4 \
30 lchown.m4 \
31 lcmessage.m4 \
32 lfs.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 st_dm_mode.m4 \
45 st_mtim.m4 \
46 stat.m4 \
47 strftime.m4 \
48 uintmax_t.m4 \
49 ulonglong.m4 \
50 uptime.m4 \
51 utimbuf.m4 \
52 utime.m4 \
53 utimes.m4 \
54 xstrtoumax.m4
55 ##m4-files-end
57 Makefile.am: Makefile.am.in
58         rm -f $@ $@t
59         sed -n '1,/^##m4-files-begin/p' $< > $@t
60         ( (echo EXTRA_DIST = README Makefile.am.in | tr '\012' @); \
61           (echo *.m4|tr ' ' @) ) \
62           |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \
63           >> $@t
64         sed -n '/^##m4-files-end/,$$p' $< >> $@t
65         chmod a-w $@t
66         mv $@t $@