summaryrefslogtreecommitdiffhomepage
path: root/vars/texinfo.vars
blob: 7e9aaa645cd5d29470ac1c9f664e5f4d4277de71 (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 is assumed.
#

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

# vim:filetype=sh textwidth=0