* autogen.sh: Automake does support adding files to the list of program
sources using += but has no -= to remove them. This means that it's
not possible to replace a source file at all.
Given that, the only option is to patch automake. Call an external
script that apply the whole patch queue instead of doing it there.
done
if test x$has_ext_mod = xtrue; then
- cat mono/mini/Makefile.am.in ../mono-extensions/mono/mini/Makefile.am > mono/mini/Makefile.am
+ pushd ../mono-extensions/scripts
+ sh ./prepare-repo.sh || exit 1
+ popd
else
cat mono/mini/Makefile.am.in > mono/mini/Makefile.am
fi