public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: Michael Snyder <msnyder@vmware.com>
Cc: "gdb-patches\@sourceware.org" <gdb-patches@sourceware.org>
Subject: Re: FYI: make python install directory
Date: Thu, 19 Aug 2010 18:38:00 -0000	[thread overview]
Message-ID: <m3eidu4fdg.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4C6D71ED.2020206@vmware.com> (Michael Snyder's message of "Thu,	19 Aug 2010 11:03:25 -0700")

>>>>> "Michael" == Michael Snyder <msnyder@vmware.com> writes:

Michael> This seems to generate a new build error for me:
Michael>     mkdir cannot create /usr/share/gdb  Permission denied

I forgot about DESTDIR.

Here is what I am going to check in.

Tom

2010-08-19  Tom Tromey  <tromey@redhat.com>

	* Makefile.in (install-python): Add DESTDIR.

Index: Makefile.in
===================================================================
RCS file: /cvs/src/src/gdb/Makefile.in,v
retrieving revision 1.1127.2.2
diff -u -r1.1127.2.2 Makefile.in
--- Makefile.in	18 Aug 2010 22:55:55 -0000	1.1127.2.2
+++ Makefile.in	19 Aug 2010 18:37:57 -0000
@@ -1038,7 +1038,7 @@
 			$(DESTDIR)$(man1dir)/$$transformed_name.1
 
 install-python:
-	$(SHELL) $(srcdir)/../mkinstalldirs $(GDB_DATADIR)/python/gdb
+	$(SHELL) $(srcdir)/../mkinstalldirs $(DESTDIR)$(GDB_DATADIR)/python/gdb
 
 uninstall: force $(CONFIG_UNINSTALL)
 	transformed_name=`t='$(program_transform_name)'; \

  parent reply	other threads:[~2010-08-19 18:38 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-18 22:55 Tom Tromey
2010-08-19 18:03 ` Michael Snyder
2010-08-19 18:11   ` Michael Snyder
2010-08-19 18:26     ` Joel Brobecker
2010-08-19 18:39       ` Daniel Jacobowitz
2010-08-19 18:38   ` Tom Tromey [this message]
2010-08-23 18:27     ` Michael Snyder

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=m3eidu4fdg.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=msnyder@vmware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).