Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Pierre Sarrazin <sarrazip@sympatico.ca>
To: gdb@sources.redhat.com
Subject: Patch for DESTDIR support in mmalloc/Makefile.in
Date: Thu, 19 Dec 2002 05:02:00 -0000	[thread overview]
Message-ID: <20021219080523.A17220@localhost> (raw)

[-- 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
 

                 reply	other threads:[~2002-12-19 13:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021219080523.A17220@localhost \
    --to=sarrazip@sympatico.ca \
    --cc=gdb@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox