respect DESTDIR when installing isl.py
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 15 Mar 2011 11:11:29 +0000 (12:11 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 15 Mar 2011 11:11:29 +0000 (12:11 +0100)
Reported-by: Kpucko <slashdevslashzerr0@gmail.com>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Makefile.am

index 54088f5..6018f4f 100644 (file)
@@ -225,5 +225,6 @@ install-data-local: $(srcdir)/isl.py
                 $(builddir)/libisl.la`; \
        case $$libisl in \
        '') echo Cannot find isl library name. GDB bindings not installed.;; \
-       *) echo $(INSTALL_DATA) $(srcdir)/isl.py $(libdir)/$$libisl-gdb.py; \
-       $(INSTALL_DATA) $(srcdir)/isl.py $(libdir)/$$libisl-gdb.py; esac
+       *) echo $(INSTALL_DATA) $(srcdir)/isl.py \
+               $(DESTDIR)$(libdir)/$$libisl-gdb.py; \
+       $(INSTALL_DATA) $(srcdir)/isl.py $(DESTDIR)$(libdir)/$$libisl-gdb.py; esac