From: Tom Tromey Date: Wed, 18 Aug 2010 22:57:46 +0000 (+0000) Subject: PR python/11900: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=94f7449c81d5c951656b38b29690c0b54fd6460e;p=binutils-gdb.git PR python/11900: * configure: Rebuild. * configure.ac: Add install-python to CONFIG_INSTALL. * Makefile.in (install-python): New. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bcbff59abd9..c35c47b73ae 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,10 @@ +2010-08-18 Tom Tromey + + PR python/11900: + * configure: Rebuild. + * configure.ac: Add install-python to CONFIG_INSTALL. + * Makefile.in (install-python): New. + 2010-08-18 Doug Evans * gdb_assert.h (gdb_assert_not_reached): New macro. 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 485c90490a6..5563baed66a 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 9595daebef2..4b779aafc4c 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).