From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14657 invoked by alias); 20 Oct 2010 12:09:20 -0000 Received: (qmail 14640 invoked by uid 22791); 20 Oct 2010 12:09:17 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 20 Oct 2010 12:09:13 +0000 Received: (qmail 20575 invoked from network); 20 Oct 2010 12:09:11 -0000 Received: from unknown (HELO ?192.168.1.106?) (jie@127.0.0.2) by mail.codesourcery.com with ESMTPA; 20 Oct 2010 12:09:11 -0000 Message-ID: <4CBEDBF5.9060504@codesourcery.com> Date: Wed, 20 Oct 2010 12:09:00 -0000 From: Jie Zhang User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100918 Icedove/3.1.4 MIME-Version: 1.0 To: gdb-patches@sourceware.org Subject: Fix Makefile.in in data-directory Content-Type: multipart/mixed; boundary="------------090902090508020704010400" X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-10/txt/msg00317.txt.bz2 This is a multi-part message in MIME format. --------------090902090508020704010400 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-length: 357 The current install rule in the Makefile.in of data-directory uses recursive make but does not pass FLAGS_TO_PASS. This causes an issue when people try to override prefix with command line option "make install", i.e. data-directory will still be installed under the configure time prefix. This patch fixes it. OK? Regards, -- Jie Zhang CodeSourcery --------------090902090508020704010400 Content-Type: text/x-patch; name="gdb-fix-data-directory-Makefile.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="gdb-fix-data-directory-Makefile.diff" Content-length: 730 * data-directory/Makefile.in (install): Add dependency on install-only. Delete code making it. Index: data-directory/Makefile.in =================================================================== RCS file: /cvs/src/src/gdb/data-directory/Makefile.in,v retrieving revision 1.3 diff -u -p -r1.3 Makefile.in --- data-directory/Makefile.in 13 Oct 2010 20:08:44 -0000 1.3 +++ data-directory/Makefile.in 20 Oct 2010 11:54:39 -0000 @@ -145,8 +145,7 @@ uninstall-python: # time it takes for make to check that all is up to date. # install-only is intended to address that need. .PHONY: install -install: all - $(MAKE) install-only +install: all install-only .PHONY: install-only install-only: install-syscalls install-python --------------090902090508020704010400--