PR python/11900:
authorTom Tromey <tromey@redhat.com>
Wed, 18 Aug 2010 22:57:46 +0000 (22:57 +0000)
committerTom Tromey <tromey@redhat.com>
Wed, 18 Aug 2010 22:57:46 +0000 (22:57 +0000)
* configure: Rebuild.
* configure.ac: Add install-python to CONFIG_INSTALL.
* Makefile.in (install-python): New.

gdb/ChangeLog
gdb/Makefile.in
gdb/configure
gdb/configure.ac

index bcbff59abd92009b7b8371141457ba9cec2a11db..c35c47b73ae31b1cfc446e2328d2f1820a8a5748 100644 (file)
@@ -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.
index 65eb1feb750efd1933825332066685f4395b92f7..36d12f7e2f476ac0a527942238891164096baa65 100644 (file)
@@ -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)'; \
index 485c90490a6767dd0ec75599afc32c948e6e6271..5563baed66af9989573073fffe526ab7932e598d 100755 (executable)
@@ -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).
index 9595daebef26d80ce4b46bdb84cf4f1eaf2c1800..4b779aafc4c9ed6e72fa220493e743d2653b3f1d 100644 (file)
@@ -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).