This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

pending/977: Patch for DESTDIR support in mmalloc/Makefile.in


>Number:         977
>Category:       pending
>Synopsis:       Patch for DESTDIR support in mmalloc/Makefile.in
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Thu Jan 30 16:28:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 --HcAYCG3uE/tztfnV
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 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 <mmalloc/Makefile.in>.
 
 The next directory to fix would be <opcodes/po>.  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 <sarrazip @ sympatico . ca>
 
 --HcAYCG3uE/tztfnV
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="mmalloc-Makefile-in.patch"
 
 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--
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]