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