summaryrefslogtreecommitdiffhomepage
path: root/vars/texinfo.vars
blob: a23f86424e692b60b4babe0ec68a6c877ba228fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#
# set +o errexit -o noglob -o nounset is assumed.
#

pkg_texinfo_build_pre() {
	if ! rtl_run_cmd_unsplit make								\
			${PKG_MAKEFLAGS_BUILD:-}						\
			${PKG_MAKEFLAGS_BUILD_EXTRA:-}						\
			${PKG_LIBTOOL:+"LIBTOOL=${PKG_LIBTOOL}"}				\
			-C tools								\
	|| ! rtl_run_cmd_unsplit make								\
			${PKG_MAKEFLAGS_BUILD:-}						\
			${PKG_MAKEFLAGS_BUILD_EXTRA:-}						\
			${PKG_LIBTOOL:+"LIBTOOL=${PKG_LIBTOOL}"}				\
			LDFLAGS="-L${PREFIX}/lib -Wl,-rpath,${PREFIX}/lib" LIBS="-ltinfo"	\
			-C "tools/info"; then
		return 1;
	fi;
};

# vim:filetype=sh textwidth=0