package/rpi-userland: don't install file in random location
[buildroot-gz.git] / package / automake / automake.mk
blob84f05dce395f2f99778d07eed275ce24a5a4dd00
1 ################################################################################
3 # automake
5 ################################################################################
7 AUTOMAKE_VERSION = 1.15
8 AUTOMAKE_SOURCE = automake-$(AUTOMAKE_VERSION).tar.xz
9 AUTOMAKE_SITE = $(BR2_GNU_MIRROR)/automake
10 AUTOMAKE_LICENSE = GPLv2+
11 AUTOMAKE_LICENSE_FILES = COPYING
13 HOST_AUTOMAKE_DEPENDENCIES = host-autoconf
15 ACLOCAL_HOST_DIR = $(HOST_DIR)/usr/share/aclocal
17 define GTK_DOC_M4_INSTALL
18 $(INSTALL) -D -m 0644 package/automake/gtk-doc.m4 \
19 $(ACLOCAL_HOST_DIR)/gtk-doc.m4
20 endef
22 # ensure staging aclocal dir exists
23 define HOST_AUTOMAKE_MAKE_ACLOCAL
24 mkdir -p $(ACLOCAL_DIR)
25 endef
27 HOST_AUTOMAKE_POST_INSTALL_HOOKS += GTK_DOC_M4_INSTALL
28 HOST_AUTOMAKE_POST_INSTALL_HOOKS += HOST_AUTOMAKE_MAKE_ACLOCAL
30 $(eval $(host-autotools-package))
32 # variables used by other packages
33 AUTOMAKE = $(HOST_DIR)/usr/bin/automake
34 ACLOCAL_DIR = $(STAGING_DIR)/usr/share/aclocal
35 ACLOCAL = $(HOST_DIR)/usr/bin/aclocal -I $(ACLOCAL_DIR)