From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9601 invoked by alias); 19 Dec 2002 13:02:00 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 9588 invoked from network); 19 Dec 2002 13:01:58 -0000 Received: from unknown (HELO tomts19-srv.bellnexxia.net) (209.226.175.73) by 209.249.29.67 with SMTP; 19 Dec 2002 13:01:58 -0000 Received: from elise.sarrazip.org ([65.94.113.185]) by tomts19-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20021219130146.RVT2765.tomts19-srv.bellnexxia.net@elise.sarrazip.org> for ; Thu, 19 Dec 2002 08:01:46 -0500 Received: (from ps@localhost) by elise.sarrazip.org (8.11.6/8.9.3) id gBJD5NA17264; Thu, 19 Dec 2002 08:05:23 -0500 X-Authentication-Warning: elise.sarrazip.org: ps set sender to sarrazip@sympatico.ca using -f Date: Thu, 19 Dec 2002 05:02:00 -0000 From: Pierre Sarrazin To: gdb@sources.redhat.com Subject: Patch for DESTDIR support in mmalloc/Makefile.in Message-ID: <20021219080523.A17220@localhost> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline User-Agent: Mutt/1.2.5.1i X-SW-Source: 2002-12/txt/msg00289.txt.bz2 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-length: 486 The HEAD branch of the CVS sources of GDB does not support the DESTDIR variable. I have attached a patch that fixes the 'install' target in . The next directory to fix would be . I tried, but the $(DESTDIR) expressions that I insert in Makefile.in disappear. Something overwrites that Makefile.in, but there is no Makefile.am. I haven't tried to understand what magic happens there. See also PR 681. -- Pierre Sarrazin --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="mmalloc-Makefile-in.patch" Content-length: 725 Index: mmalloc/Makefile.in =================================================================== RCS file: /cvs/src/src/mmalloc/Makefile.in,v retrieving revision 1.5 diff -u -r1.5 Makefile.in --- mmalloc/Makefile.in 28 Nov 2002 16:46:31 -0000 1.5 +++ mmalloc/Makefile.in 19 Dec 2002 12:55:07 -0000 @@ -156,9 +156,9 @@ # ./a.out install: all install-info - $(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB)n - $(RANLIB) $(libdir)/$(TARGETLIB)n - mv -f $(libdir)/$(TARGETLIB)n $(libdir)/$(TARGETLIB) + $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(TARGETLIB)n + $(RANLIB) $(DESTDIR)$(libdir)/$(TARGETLIB)n + mv -f $(DESTDIR)$(libdir)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(TARGETLIB) uninstall: uninstall-info --HcAYCG3uE/tztfnV--