bindings/java/Makefile.am: Fully support $DESTDIR.
authorSebastian Harl <sh@tokkee.org>
Mon, 22 Jun 2009 18:24:20 +0000 (20:24 +0200)
committerSebastian Harl <sh@tokkee.org>
Thu, 2 Jul 2009 13:16:11 +0000 (15:16 +0200)
bindings/java/Makefile.am

index 668335a..af5e480 100644 (file)
@@ -26,7 +26,7 @@ java-build-stamp: org/collectd/api/*.java
 all-local: java-build-stamp
 
 install-exec-local: java-build-stamp
-       mkdir -p "$(pkgdatadir)/java/org/collectd/api"
+       mkdir -p "$(DESTDIR)$(pkgdatadir)/java/org/collectd/api"
        $(INSTALL) -m 644 "org/collectd/api"/*.class \
                "$(DESTDIR)$(pkgdatadir)/java/org/collectd/api/"