* Makefile.in (install-python): Add DESTDIR.
authorTom Tromey <tromey@redhat.com>
Thu, 19 Aug 2010 18:40:46 +0000 (18:40 +0000)
committerTom Tromey <tromey@redhat.com>
Thu, 19 Aug 2010 18:40:46 +0000 (18:40 +0000)
gdb/ChangeLog
gdb/Makefile.in

index b165bf8..af9c8eb 100644 (file)
@@ -1,3 +1,7 @@
+2010-08-19  Tom Tromey  <tromey@redhat.com>
+
+       * Makefile.in (install-python): Add DESTDIR.
+
 2010-08-19  Doug Evans  <dje@google.com>
 
        PR exp/11926
index 36d12f7..f07bc8b 100644 (file)
@@ -1038,7 +1038,7 @@ install-tui:
                        $(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)'; \