Java: install files into DESTDIR

This fixes bug #537.
This commit is contained in:
Jiří Pinkava 2015-05-30 00:00:19 +02:00 committed by Uwe Hermann
parent 84ab9da11f
commit df705a7af7
1 changed files with 4 additions and 4 deletions

View File

@ -597,10 +597,10 @@ $(JLIB): $(JCXX) bindings/cxx/libsigrokcxx.la $(library_include_HEADERS)
-lsigrokcxx -o $(JLIB)
java-install:
$(INSTALL) -d $(libdir)/jni
$(INSTALL) $(JLIB) -t $(libdir)/jni
$(INSTALL) -d $(datadir)/java
$(INSTALL) $(JJAR) -t $(datadir)/java
$(INSTALL) -d $(DESTDIR)$(libdir)/jni
$(INSTALL) $(JLIB) -t $(DESTDIR)$(libdir)/jni
$(INSTALL) -d $(DESTDIR)$(datadir)/java
$(INSTALL) $(JJAR) -t $(DESTDIR)$(datadir)/java
java-clean:
$(AM_V_at)rm -f $(JCXX)