3 # cd to the directory we're run from
6 # if you change this, please also change it in the root Makefile.am
7 includes="-I . -I config -I config/gettext-macros -I config/gnulib -I config/amanda -I config/macro-archive"
11 rm -rf autom4te*.cache
15 echo x"${@}" | sed s/^x//
19 echo "See DEVELOPING for instructions on updating:"
20 echo " * gettext macros"
22 echo " * libtool files"
24 echo "..creating file lists"
26 for m4dir in amanda gettext-macros gnulib macro-archive; do
27 echo "## this file is automatically generated by autogen" > "$m4dir/file-list"
28 for f in $m4dir/*.m4; do echo "EXTRA_DIST += $f" >> "$m4dir/file-list"; done
31 echo "## this file is automatically generated by autogen" > "automake/file-list"
32 for f in automake/*.am; do echo "EXTRA_DIST += $f" >> "automake/file-list"; done
36 aclocal $includes || die "aclocal failed"
39 autoconf || die "autoconf failed"
42 autoheader || die "autoheader failed"
43 touch config/config.h.in
46 automake --force --copy --warnings=none || die "automake failed"