From 2cbd37356b2a3d3890b335d01e0d563269b448be Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Sat, 23 May 2015 11:01:19 +0200 Subject: [PATCH] bindings/java/Makefile.am: Add "uninstall-local" target. Otherwise "make distcheck" will complain about leftover files. --- bindings/java/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.11.0