summaryrefslogtreecommitdiff
path: root/altosdroid/Makefile.am
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-01-29 17:00:43 +1100
committerKeith Packard <keithp@keithp.com>2013-01-29 17:00:43 +1100
commit8d1d8d2a3c129cdbd55427bcda0f26715b02f1ee (patch)
tree752f1f3b672e29dfdeef9b98ecb80b03adcf3f5c /altosdroid/Makefile.am
parent5a3c5de6657d1c26e52015a8acec0cd05e294cef (diff)
Add version numbers to java libraries
Make our private java library names include a version number so we can ship and install multiple versions at the same time. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosdroid/Makefile.am')
-rw-r--r--altosdroid/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/altosdroid/Makefile.am b/altosdroid/Makefile.am
index 3860e110..cc74b7a8 100644
--- a/altosdroid/Makefile.am
+++ b/altosdroid/Makefile.am
@@ -17,7 +17,7 @@ ZIPALIGN=$(SDK)/tools/zipalign
SRC_DIR=src/org/altusmetrum/AltosDroid
EXT_LIBDIR=libs
ALTOSLIB_SRCDIR=../altoslib
-ALTOSLIB_JAR=AltosLib.jar
+ALTOSLIB_JAR=altoslib_$(ALTOSLIB_VERSION).jar
ALTOSLIB=$(EXT_LIBDIR)/$(ALTOSLIB_JAR)
@@ -56,7 +56,10 @@ bin/AltosDroid-release.apk: $(SRC) $(ALTOSLIB)
ant release
endif
-clean:
+clean: clean-local
$(clean_command)
+clean-local:
+ rm -rf $(EXT_LIBDIR)
+
.PHONY: $(SRC_DIR)/BuildInfo.java