projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03fcb41
)
bindings/java/Makefile.am: Add "uninstall-local" target.
collectd-5.3
author
Florian Forster
<octo@collectd.org>
Sat, 23 May 2015 09:01:19 +0000
(11:01 +0200)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Tue, 26 May 2015 11:33:23 +0000
(13:33 +0200)
Otherwise "make distcheck" will complain about leftover files.
bindings/java/Makefile.am
patch
|
blob
|
history
diff --git
a/bindings/java/Makefile.am
b/bindings/java/Makefile.am
index
6a398cc
..
8d2e49d
100644
(file)
--- 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