projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37105d4
)
bindings/java/Makefile.am: Add "uninstall-local" target.
author
Florian Forster
<octo@collectd.org>
Sat, 23 May 2015 09:01:19 +0000
(11:01 +0200)
committer
Florian Forster
<octo@collectd.org>
Sat, 23 May 2015 09:01:19 +0000
(11:01 +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