continue the configure simplifications.
[apps/madmutt.git] / m4 / Makefile.am
1 ## Process this file with automake to produce Makefile.in -*-Makefile-*-
2
3 ##m4-files-begin
4 EXTRA_DIST = README Makefile.am.in \
5              intmax.m4 inttypes_h.m4 inttypes-h.m4 inttypes-pri.m4 lib-ld.m4 \
6              lib-link.m4 lib-prefix.m4 lock.m4 longdouble.m4 longlong.m4     \
7              nls.m4 po.m4 printf-posix.m4 signed.m4 size_max.m4 stdint_h.m4  \
8              uintmax_t.m4 ulonglong.m4 visibility.m4 wchar_t.m4 wint_t.m4    \
9              xsize.m4 codeset.m4 curslib.m4 funcdecl.m4 gettext.m4 gssapi.m4 \
10              iconv.m4 lcmessage.m4 libesmtp.m4 progtest.m4 types.m4
11 ##m4-files-end
12
13 Makefile.am: Makefile.am.in
14         rm -f $@ $@t
15         sed -n '1,/^##m4-files-begin/p' Makefile.am.in > $@t
16         ( (echo EXTRA_DIST = README Makefile.am.in | tr '\012' @); \
17           (echo *.m4|tr ' ' @) ) \
18           |sed 's/@$$/%/;s/@/ \\@/g' |tr @% '\012\012' \
19           >> $@t
20         sed -n '/^##m4-files-end/,$$p' Makefile.am.in >> $@t
21         chmod a-w $@t
22         mv $@t $@