From patchwork Sun Feb 1 16:51:40 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Porcedda X-Patchwork-Id: 435244 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 609A41401DE for ; Mon, 2 Feb 2015 03:51:51 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 96F6988895; Sun, 1 Feb 2015 16:51:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EYzDUAzhpWCb; Sun, 1 Feb 2015 16:51:49 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 7D1678892C; Sun, 1 Feb 2015 16:51:49 +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 783EA1C26C4 for ; Sun, 1 Feb 2015 16:51:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 755CA8B169 for ; Sun, 1 Feb 2015 16:51:47 +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 3mCr_wt888rn for ; Sun, 1 Feb 2015 16:51:47 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by fraxinus.osuosl.org (Postfix) with ESMTPS id C1F3D8AFE8 for ; Sun, 1 Feb 2015 16:51:46 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id k48so35157088wev.12 for ; Sun, 01 Feb 2015 08:51:45 -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:in-reply-to:references; bh=loX/UsIKv7KZ++CuP0LYDE5fLZIgEb6NlQlVT4TgmWc=; b=C/+KN9DL64jLle3rthGvRd/95xLxT/RpoUhLWupm9aFuUsjKexba78ApjVFChE1Hz8 2QQT5e460c+lPajdCdl/9B1MbrQ8MPTgzAg1XBalqUNcM62xlA7IpzZpreNrMCxHhIzh OzBm5Tx12CA/hzFu/u0JLDPxpfmURDtMTYHaW4f6uPf6C0Bz6MZrnkI7AjEDpE+d6Ey8 tmuAHdB6u1uv3yloOzdmcZUGPFxfvEZLl3MaiWgI3sPoGmwyilSF3gpSQUoMgjUTTHsS zCcUsFVo1HzsCd5rcxey2ckQqaA7noi/hvEERYF+V+tSEdhvt9kYpBGECrWONrnLAnQK ENBw== X-Received: by 10.180.84.162 with SMTP id a2mr12504151wiz.47.1422809505515; Sun, 01 Feb 2015 08:51:45 -0800 (PST) Received: from mobeast.localdomain (dynamic-adsl-84-221-170-210.clienti.tiscali.it. [84.221.170.210]) by mx.google.com with ESMTPSA id fq10sm15137641wib.3.2015.02.01.08.51.43 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Feb 2015 08:51:44 -0800 (PST) From: Fabio Porcedda To: buildroot@uclibc.org Date: Sun, 1 Feb 2015 17:51:40 +0100 Message-Id: <1422809500-23948-2-git-send-email-fabio.porcedda@gmail.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1422809500-23948-1-git-send-email-fabio.porcedda@gmail.com> References: <1422809500-23948-1-git-send-email-fabio.porcedda@gmail.com> Subject: [Buildroot] [PATCH 2/2] automake: use whenever possible the ACLOCAL_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_DIR in the GTK_DOC_M4_INSTALL hook. Move the ACLOCAL_DIR definition at the beginning so the definition is ahead the utilization. Signed-off-by: Fabio Porcedda Reviewed-by: 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 5021b49..264cbad 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_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_DIR)/gtk-doc.m4 endef # ensure staging aclocal dir exists @@ -28,5 +31,4 @@ $(eval $(host-autotools-package)) # variables used by other packages AUTOMAKE = $(HOST_DIR)/usr/bin/automake -ACLOCAL_DIR = $(HOST_DIR)/usr/share/aclocal ACLOCAL = $(HOST_DIR)/usr/bin/aclocal -I $(ACLOCAL_DIR)