From patchwork Fri Jul 2 14:47:17 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 57667 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 973D7B6F01 for ; Sat, 3 Jul 2010 00:46:27 +1000 (EST) Received: (qmail 14489 invoked by alias); 2 Jul 2010 14:46:23 -0000 Received: (qmail 14481 invoked by uid 22791); 2 Jul 2010 14:46:22 -0000 X-SWARE-Spam-Status: No, hits=-6.0 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_HI, SPF_HELO_PASS, TW_BF, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 02 Jul 2010 14:46:17 +0000 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o62EkFmV005738 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 2 Jul 2010 10:46:16 -0400 Received: from tyan-ft48-01.lab.bos.redhat.com (tyan-ft48-01.lab.bos.redhat.com [10.16.42.4]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o62EkEqK022363 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Jul 2010 10:46:15 -0400 Received: from tyan-ft48-01.lab.bos.redhat.com (tyan-ft48-01.lab.bos.redhat.com [127.0.0.1]) by tyan-ft48-01.lab.bos.redhat.com (8.14.4/8.14.4) with ESMTP id o62ElJvT017305; Fri, 2 Jul 2010 16:47:19 +0200 Received: (from jakub@localhost) by tyan-ft48-01.lab.bos.redhat.com (8.14.4/8.14.4/Submit) id o62ElHDL017303; Fri, 2 Jul 2010 16:47:17 +0200 Date: Fri, 2 Jul 2010 16:47:17 +0200 From: Jakub Jelinek To: Anthony Green , Tom Tromey Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] Pass mandir to libffi submakes Message-ID: <20100702144717.GB25077@tyan-ft48-01.lab.bos.redhat.com> Reply-To: Jakub Jelinek MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-12-10) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Hi! The addition of man pages to libffi from last year causes make install prefix=/tmp/foo/bar/usr/ mandir=/tmp/foo/bar/usr/share/man/ failures, because mandir is not honored. Fixed by the following patch, ok for trunk and 4.5? 2010-07-02 Jakub Jelinek * Makefile.am (AM_MAKEFLAGS): Pass also mandir to submakes. * Makefile.in: Regenerated. Jakub --- libffi/Makefile.am.jj 2010-01-04 10:46:41.000000000 +0100 +++ libffi/Makefile.am 2010-07-02 16:34:55.000000000 +0200 @@ -65,6 +65,7 @@ AM_MAKEFLAGS = \ "exec_prefix=$(exec_prefix)" \ "infodir=$(infodir)" \ "libdir=$(libdir)" \ + "mandir=$(mandir)" \ "prefix=$(prefix)" \ "AR=$(AR)" \ "AS=$(AS)" \ --- libffi/Makefile.in.jj 2010-04-05 18:49:02.000000000 +0200 +++ libffi/Makefile.in 2010-07-02 16:35:21.000000000 +0200 @@ -444,6 +444,7 @@ AM_MAKEFLAGS = \ "exec_prefix=$(exec_prefix)" \ "infodir=$(infodir)" \ "libdir=$(libdir)" \ + "mandir=$(mandir)" \ "prefix=$(prefix)" \ "AR=$(AR)" \ "AS=$(AS)" \