'make clean' removes those, so there is no point in creating them from
bootstrap. $(RECONF) takes care of this better already for aclocal.
Otherwise, install targets should deal with this.
then
# strip trailing slash
PREFIX="${PREFIX%/}"
-else
- PREFIX="../hosts/$HOST"
fi
#
# Prepare files
#
-echo "Creating prefix... $PREFIX"
-mkdir -p -- "$PREFIX" || exit $?
-mkdir -p -- "$PREFIX/share/aclocal" || exit $?
-
echo "Creating configuration file... config.mak"
exec 3>config.mak
cat >&3 << EOF
# Any change will be overwritten if ../bootstrap is run again.
BUILD := $BUILD
HOST := $HOST
-PREFIX := $PREFIX
PKGS_DISABLE := $PKGS_DISABLE
PKGS_ENABLE := $PKGS_ENABLE
EOF
done
}
+test -z "$PREFIX" || add_make "PREFIX := $PREFIX"
test -z "$BUILD_DISCS" || add_make_enabled "BUILD_DISCS"
test -z "$BUILD_ENCODERS" || add_make_enabled "BUILD_ENCODERS"