From patchwork Sun Feb 8 10:40:56 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 437690 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 30E5214017B for ; Sun, 8 Feb 2015 21:41:07 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 88C408BC43; Sun, 8 Feb 2015 10:41:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kEyp6xjVxQLg; Sun, 8 Feb 2015 10:41:05 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id B43508BC71; Sun, 8 Feb 2015 10:41:05 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id C605C1C20B0 for ; Sun, 8 Feb 2015 10:41:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C24E1A1351 for ; Sun, 8 Feb 2015 10:41:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fNpNYdRMtL8Z for ; Sun, 8 Feb 2015 10:41:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 94942A132E for ; Sun, 8 Feb 2015 10:41:02 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id k14so21324258wgh.10 for ; Sun, 08 Feb 2015 02:41:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=Rn3G7YFluogxG6r/tJDhbZlO6vXqm4t9/3fxNpwrg9c=; b=Efw3CieQdC3/ED0A/Fq8smuhJ2T3MNbxv6mE3D5auNPLLHrx3CPQJ47xD3uOU72uk9 aXbtfM/KC3YF33vorzIF4X5UbPli0/6DZGH1k0lEuuebHLSU+VTAVCUBo7zzZs9hvdQ6 WAzRbZBSKzjCVe0GEOxH9w9H7OvhOuDHRBwCp+QsUd0rLOoGEszMJEuOEYzksLY9Od7X THzJplIXv6pgMgF+vFZUTUlqCsNq8TGhB7cjsz6wbkusjJz0hfd0qaMu/VFX6BGy/dd6 W8h24xI2w328pVuM7flTdhZYbAYNCP1iFhr+5cuuB6s5HYR6qGTme8owfxN7xVYVP9yx wSFw== X-Received: by 10.194.234.40 with SMTP id ub8mr19432653wjc.100.1423392060573; Sun, 08 Feb 2015 02:41:00 -0800 (PST) Received: from mobeast.localdomain (dynamic-adsl-84-221-144-217.clienti.tiscali.it. [84.221.144.217]) by mx.google.com with ESMTPSA id hz9sm11345816wjb.17.2015.02.08.02.40.58 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 08 Feb 2015 02:40:59 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Sun, 8 Feb 2015 11:40:56 +0100 Message-Id: <1423392056-30339-1-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 2.1.0 Subject: [Buildroot] [PATCH v2] automake: use whenever possible the ACLOCAL_HOST_DIR variable X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Use the ACLOCAL_HOST_DIR in the GTK_DOC_M4_INSTALL hook. Move the ACLOCAL_HOST_DIR definition at the beginning so the definition is ahead the utilization. Signed-off-by: Fabio Porcedda Cc: Romain Naour --- package/automake/automake.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/automake/automake.mk b/package/automake/automake.mk index a3fd18c..84f05dc 100644 --- a/package/automake/automake.mk +++ b/package/automake/automake.mk @@ -12,8 +12,11 @@ AUTOMAKE_LICENSE_FILES = COPYING HOST_AUTOMAKE_DEPENDENCIES = host-autoconf +ACLOCAL_HOST_DIR = $(HOST_DIR)/usr/share/aclocal + define GTK_DOC_M4_INSTALL - $(INSTALL) -D -m 0644 package/automake/gtk-doc.m4 $(HOST_DIR)/usr/share/aclocal/gtk-doc.m4 + $(INSTALL) -D -m 0644 package/automake/gtk-doc.m4 \ + $(ACLOCAL_HOST_DIR)/gtk-doc.m4 endef # ensure staging aclocal dir exists @@ -29,5 +32,4 @@ $(eval $(host-autotools-package)) # variables used by other packages AUTOMAKE = $(HOST_DIR)/usr/bin/automake ACLOCAL_DIR = $(STAGING_DIR)/usr/share/aclocal -ACLOCAL_HOST_DIR = $(HOST_DIR)/usr/share/aclocal ACLOCAL = $(HOST_DIR)/usr/bin/aclocal -I $(ACLOCAL_DIR)