bindings/java/Makefile.am: Add "uninstall-local" target.

Otherwise "make distcheck" will complain about leftover files.
This commit is contained in:
Florian Forster
2015-05-23 11:01:19 +02:00
committed by Marc Fournier
parent 03fcb41ab6
commit 04c96b0c99

View File

@@ -41,6 +41,11 @@ install-exec-local: java-build-stamp
$(INSTALL) -m 644 .libs/generic-jmx.jar \
"$(DESTDIR)$(pkgdatadir)/java"
uninstall-local:
rm -f "$(DESTDIR)$(pkgdatadir)/java/collectd-api.jar"
rm -f "$(DESTDIR)$(pkgdatadir)/java/generic-jmx.jar"
rmdir "$(DESTDIR)$(pkgdatadir)/java" || true
clean-local:
rm -f "org/collectd/api"/*.class
rm -f "org/collectd/java"/*.class