summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 558aedce7a3..0950f43e93d 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-14 Ulrich Weigand <uweigand@de.ibm.com>
* arm-tdep.c (arm_push_dummy_call): Handle pointers to
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 65eb1feb750..36d12f7e2f4 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 814fdb488f6..041ffc1dbea 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 0647b1d29a1..b69c3b6dfa1 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).