Lucio Andrés Illanes Albornoz fd6840
#
Lucio Andrés Illanes Albornoz 2b85d0
# set +o errexit -o noglob 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 bf9edf
			${PKG_MAKEFLAGS_BUILD}							\
Lucio Andrés Illanes Albornoz bf9edf
			${PKG_MAKEFLAGS_BUILD_EXTRA}						\
Lucio Andrés Illanes Albornoz bf9edf
			"LIBTOOL=${PKG_LIBTOOL:-slibtool}"					\
Lucio Andrés Illanes Albornoz bf9edf
			-C tools								\
Lucio Andrés Illanes Albornoz bf9edf
	|| ! rtl_run_cmd_unsplit make								\
Lucio Andrés Illanes Albornoz bf9edf
			${PKG_MAKEFLAGS_BUILD}							\
Lucio Andrés Illanes Albornoz bf9edf
			${PKG_MAKEFLAGS_BUILD_EXTRA}						\
Lucio Andrés Illanes Albornoz bf9edf
			"LIBTOOL=${PKG_LIBTOOL:-slibtool}"					\
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