aboutsummaryrefslogtreecommitdiff
path: root/package/gpm
diff options
context:
space:
mode:
authorGravatar Julien Boibessot <julien.boibessot@armadeus.com>2014-02-03 11:58:30 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-02-04 10:19:09 +0100
commit45f756ee9e215e267351c4870cf3507a3d4e36f8 (patch)
tree38af3748b2124905a1a43bab8d98a63075058e69 /package/gpm
parentd66538b34ac735f279d3c21d83e790acc83745a1 (diff)
downloadbuildroot-45f756ee9e215e267351c4870cf3507a3d4e36f8.tar.gz
buildroot-45f756ee9e215e267351c4870cf3507a3d4e36f8.tar.bz2
gpm: fixes build error when makeinfo is not installed on host
Tested with: make gpm MAKEINFO=no Should fix http://autobuild.buildroot.net/results/fbf/fbf42eac7cf09b2f3fc93fa2134ddefcb1beea2f/build-end.log Thanks to Romain Naour for pointing out the problem. Signed-off-by: Julien Boibessot <julien.boibessot@armadeus.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gpm')
-rw-r--r--package/gpm/gpm.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/gpm/gpm.mk b/package/gpm/gpm.mk
index 6fd5a3fa2c..296966addc 100644
--- a/package/gpm/gpm.mk
+++ b/package/gpm/gpm.mk
@@ -32,6 +32,15 @@ GPM_POST_PATCH_HOOKS += GPM_RUN_AUTOGEN
GPM_DEPENDENCIES += host-automake host-autoconf host-libtool
+# gpm tries to build/install .info doc even if makeinfo isn't installed on the
+# host, so we have to disable global doc installation to prevent autobuild
+# errors.
+define GPM_DISABLE_DOC_INSTALL
+ $(SED) 's/SUBDIRS = src doc contrib/SUBDIRS = src contrib/' \
+ $(@D)/Makefile.in
+endef
+GPM_POST_PATCH_HOOKS += GPM_DISABLE_DOC_INSTALL
+
ifeq ($(BR2_PACKAGE_GPM_INSTALL_TEST_TOOLS),)
define GPM_REMOVE_TEST_TOOLS_FROM_TARGET
for tools in mev hltest mouse-test display-buttons \