From: Florian Forster Date: Sat, 23 May 2015 09:01:19 +0000 (+0200) Subject: bindings/java/Makefile.am: Add "uninstall-local" target. X-Git-Tag: collectd-5.5.0~8 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2cbd37356b2a3d3890b335d01e0d563269b448be;p=collectd.git bindings/java/Makefile.am: Add "uninstall-local" target. Otherwise "make distcheck" will complain about leftover files. --- diff --git a/bindings/java/Makefile.am b/bindings/java/Makefile.am index 6a398cc3..8d2e49d7 100644 --- a/bindings/java/Makefile.am +++ b/bindings/java/Makefile.am @@ -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