aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2010-08-18 22:57:46 +0000
committerTom Tromey <tromey@redhat.com>2010-08-18 22:57:46 +0000
commit94f7449c81d5c951656b38b29690c0b54fd6460e (patch)
tree4f448daaa4f65c0fc5e861fe699e661dd29ac37e /gdb
parent9f2670f27b3d38d9faba9388a5fe6ccafaae9864 (diff)
downloadgdb-94f7449c81d5c951656b38b29690c0b54fd6460e.zip
gdb-94f7449c81d5c951656b38b29690c0b54fd6460e.tar.gz
gdb-94f7449c81d5c951656b38b29690c0b54fd6460e.tar.bz2
PR python/11900:
* configure: Rebuild. * configure.ac: Add install-python to CONFIG_INSTALL. * Makefile.in (install-python): New.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog7
-rw-r--r--gdb/Makefile.in2
-rwxr-xr-xgdb/configure1
-rw-r--r--gdb/configure.ac1
4 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index bcbff59..c35c47b 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2010-08-18 Tom Tromey <tromey@redhat.com>
+
+ PR python/11900:
+ * configure: Rebuild.
+ * configure.ac: Add install-python to CONFIG_INSTALL.
+ * Makefile.in (install-python): New.
+
2010-08-18 Doug Evans <dje@google.com>
* gdb_assert.h (gdb_assert_not_reached): New macro.
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 65eb1fe..36d12f7 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -1037,6 +1037,8 @@ install-tui:
$(INSTALL_DATA) $(srcdir)/gdb.1 \
$(DESTDIR)$(man1dir)/$$transformed_name.1
+install-python:
+ $(SHELL) $(srcdir)/../mkinstalldirs $(GDB_DATADIR)/python/gdb
uninstall: force $(CONFIG_UNINSTALL)
transformed_name=`t='$(program_transform_name)'; \
diff --git a/gdb/configure b/gdb/configure
index 485c904..5563bae 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -10918,6 +10918,7 @@ $as_echo "#define HAVE_PYTHON 1" >>confdefs.h
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_PYTHON_OBS)"
CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_PYTHON_DEPS)"
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_PYTHON_SRCS)"
+ CONFIG_INSTALL="$CONFIG_INSTALL install-python"
ENABLE_CFLAGS="$ENABLE_CFLAGS \$(SUBDIR_PYTHON_CFLAGS)"
# Flags needed to compile Python code (taken from python-config --cflags).
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 9595dae..4b779aa 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -832,6 +832,7 @@ if test "${have_libpython}" != no; then
CONFIG_OBS="$CONFIG_OBS \$(SUBDIR_PYTHON_OBS)"
CONFIG_DEPS="$CONFIG_DEPS \$(SUBDIR_PYTHON_DEPS)"
CONFIG_SRCS="$CONFIG_SRCS \$(SUBDIR_PYTHON_SRCS)"
+ CONFIG_INSTALL="$CONFIG_INSTALL install-python"
ENABLE_CFLAGS="$ENABLE_CFLAGS \$(SUBDIR_PYTHON_CFLAGS)"
# Flags needed to compile Python code (taken from python-config --cflags).