*** empty log message ***
[findutils.git] / m4 / Makefile.am
blobde18242f1880a5f3e88f4f9363fd3e56f2cab14f
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 c-bs-a.m4 \
8 check-decl.m4 \
9 d-ino.m4 \
10 d-type.m4 \
11 error.m4 \
12 fnmatch.m4 \
13 fnmatchcase.m4 \
14 fstypename.m4 \
15 getline.m4 \
16 gettext.m4 \
17 glibc.m4 \
18 glibc21.m4 \
19 iconv.m4 \
20 inttypes_h.m4 \
21 isc-posix.m4 \
22 jm-glibc-io.m4 \
23 jm-macros.m4 \
24 jm-mktime.m4 \
25 lcmessage.m4 \
26 libintl.m4 \
27 link-follow.m4 \
28 ls-mntd-fs.m4 \
29 lstat-slash.m4 \
30 lstat.m4 \
31 malloc.m4 \
32 mbstate_t.m4 \
33 memcmp.m4 \
34 prereq.m4 \
35 progtest.m4 \
36 readdir.m4 \
37 realloc.m4 \
38 regex.m4 \
39 st_dm_mode.m4 \
40 st_mtim.m4 \
41 stat.m4 \
42 strerror_r.m4 \
43 strftime.m4 \
44 timespec.m4 \
45 uintmax_t.m4 \
46 ulonglong.m4 \
47 xstrtoumax.m4
48 ##m4-files-end
50 Makefile.am: Makefile.am.in
51         rm -f $@ $@t
52         sed -n '1,/^##m4-files-begin/p' $< > $@t
53         ( (echo EXTRA_DIST = README Makefile.am.in | tr '\012' @); \
54           (echo *.m4|tr ' ' @) ) \
55           |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \
56           >> $@t
57         sed -n '/^##m4-files-end/,$$p' $< >> $@t
58         chmod a-w $@t
59         mv $@t $@