* 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 b165bf8655d2827019e92eb867b2ea47b8cb93b8..af9c8eb2e344af49563998104a41d974314ef388 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 36d12f7e2f476ac0a527942238891164096baa65..f07bc8b82f4cda166b645652f5855ab52b7b18f9 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)'; \