Blame vars/texinfo.vars

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() {
4243a1
	if ! rtl_run_cmdlineV ":" "${PKG_MAKE}"					\
4243a1
			${PKG_MAKEFLAGS_BUILD:-}				\
4243a1
			${PKG_MAKEFLAGS_BUILD_EXTRA:-}				\
4243a1
			${PKG_LIBTOOL:+"LIBTOOL=${PKG_LIBTOOL}"}		\
4243a1
			-C tools						\
4243a1
	|| ! rtl_run_cmdlineV ":" "${PKG_MAKE}"					\
4243a1
			${PKG_MAKEFLAGS_BUILD:-}				\
4243a1
			${PKG_MAKEFLAGS_BUILD_EXTRA:-}				\
4243a1
			${PKG_LIBTOOL:+"LIBTOOL=${PKG_LIBTOOL}"}		\
4243a1
			LDFLAGS="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib"	\
4243a1
			LIBS="-ltinfo"						\
4243a1
			-C "tools/info";
4243a1
	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