(TESTS_ENVIRONMENT): Add `pwd`/ prefix to exported PATH value (though not strictly...
[coreutils.git] / m4 / Makefile.am
blob9f6528d5777b896a30b71bbeecf6c7eac7d5435b
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-slash.m4 \
35 lstat.m4 \
36 malloc.m4 \
37 memcmp.m4 \
38 nanosleep.m4 \
39 perl.m4 \
40 prereq.m4 \
41 progtest.m4 \
42 putenv.m4 \
43 readdir.m4 \
44 realloc.m4 \
45 regex.m4 \
46 search-libs.m4 \
47 st_dm_mode.m4 \
48 st_mtim.m4 \
49 stat.m4 \
50 strftime.m4 \
51 timespec.m4 \
52 uintmax_t.m4 \
53 ulonglong.m4 \
54 uptime.m4 \
55 utimbuf.m4 \
56 utime.m4 \
57 utimes.m4 \
58 xstrtoumax.m4
59 ##m4-files-end
61 Makefile.am: Makefile.am.in
62         rm -f $@ $@t
63         sed -n '1,/^##m4-files-begin/p' $< > $@t
64         ( (echo EXTRA_DIST = README Makefile.am.in | tr '\012' @); \
65           (echo *.m4|tr ' ' @) ) \
66           |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \
67           >> $@t
68         sed -n '/^##m4-files-end/,$$p' $< >> $@t
69         chmod a-w $@t
70         mv $@t $@