Lucio Andrés Illanes Albornoz fd6840
#
Lucio Andrés Illanes Albornoz e1d469
# set +o errexit -o noglob -o nounset is assumed.
Lucio Andrés Illanes Albornoz fd6840
#
Lucio Andrés Illanes Albornoz fd6840
Lucio Andrés Illanes Albornoz fd6840
pkg_texinfo_build_pre() {
Lucio Andrés Illanes Albornoz bf9edf
	if ! rtl_run_cmd_unsplit make								\
Lucio Andrés Illanes Albornoz e1d469
			${PKG_MAKEFLAGS_BUILD:-}						\
Lucio Andrés Illanes Albornoz e1d469
			${PKG_MAKEFLAGS_BUILD_EXTRA:-}						\
Lucio Andrés Illanes Albornoz e1d469
			${PKG_LIBTOOL:+"LIBTOOL=${PKG_LIBTOOL}"}				\
Lucio Andrés Illanes Albornoz bf9edf
			-C tools								\
Lucio Andrés Illanes Albornoz bf9edf
	|| ! rtl_run_cmd_unsplit make								\
Lucio Andrés Illanes Albornoz e1d469
			${PKG_MAKEFLAGS_BUILD:-}						\
Lucio Andrés Illanes Albornoz e1d469
			${PKG_MAKEFLAGS_BUILD_EXTRA:-}						\
Lucio Andrés Illanes Albornoz e1d469
			${PKG_LIBTOOL:+"LIBTOOL=${PKG_LIBTOOL}"}				\
Lucio Andrés Illanes Albornoz bf9edf
			LDFLAGS="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib" LIBS="-ltinfo"	\
Lucio Andrés Illanes Albornoz bf9edf
			-C "tools/info"; then
Lucio Andrés Illanes Albornoz bf9edf
		return 1;
Lucio Andrés Illanes Albornoz bf9edf
	fi;
Lucio Andrés Illanes Albornoz fd6840
};
Lucio Andrés Illanes Albornoz fd6840
Lucio Andrés Illanes Albornoz fd6840
# vim:filetype=sh textwidth=0