* Patch for DESTDIR support in mmalloc/Makefile.in
@ 2002-12-19 5:02 Pierre Sarrazin
0 siblings, 0 replies; only message in thread
From: Pierre Sarrazin @ 2002-12-19 5:02 UTC (permalink / raw)
To: gdb
[-- Attachment #1: Type: text/plain, Size: 486 bytes --]
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>
[-- Attachment #2: mmalloc-Makefile-in.patch --]
[-- Type: text/plain, Size: 725 bytes --]
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-12-19 13:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-19 5:02 Patch for DESTDIR support in mmalloc/Makefile.in Pierre Sarrazin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox