org/collectd/api/ValueList.java
java-build-stamp: org/collectd/api/*.java
- $(JAVAC) -d "$(builddir)" "$(srcdir)/org/collectd/api"/*.java
+ $(JAVAC) -d "." "$(srcdir)/org/collectd/api"/*.java
touch "$@"
all-local: java-build-stamp
install-exec-local: java-build-stamp
- mkdir -p "$(pkglibdir)/java/org/collectd/api"
- $(INSTALL) -m 644 "$(builddir)/org/collectd/api"/*.class \
- "$(DESTDIR)$(pkglibdir)/java/org/collectd/api/"
+ mkdir -p "$(pkgdatadir)/java/org/collectd/api"
+ $(INSTALL) -m 644 "org/collectd/api"/*.class \
+ "$(DESTDIR)$(pkgdatadir)/java/org/collectd/api/"
clean-local:
- rm -f "$(builddir)/org/collectd/api"/*.class
- rm -f "$(builddir)/java-build-stamp"
+ rm -f "org/collectd/api"/*.class
+ rm -f "java-build-stamp"