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

pkg_texinfo_build_pre() {
	if ! rtl_run_cmdlineV ":" "${PKG_MAKE}"					\
			${PKG_MAKEFLAGS_BUILD:-}				\
			${PKG_MAKEFLAGS_BUILD_EXTRA:-}				\
			${PKG_MAKEFLAGS_PARALLELISE:-}				\
			${PKG_LIBTOOL:+"LIBTOOL=${PKG_LIBTOOL}"}		\
			-C tools						\
	|| ! rtl_run_cmdlineV ":" "${PKG_MAKE}"					\
			${PKG_MAKEFLAGS_BUILD:-}				\
			${PKG_MAKEFLAGS_BUILD_EXTRA:-}				\
			${PKG_MAKEFLAGS_PARALLELISE:-}				\
			${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