summaryrefslogtreecommitdiff
path: root/altosdroid/Makefile.am
diff options
context:
space:
mode:
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 3b5abfc4..39f3c2b6 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)
@@ -65,7 +65,10 @@ sign:
endif
-clean:
+clean: clean-local
$(clean_command)
+clean-local:
+ rm -rf $(EXT_LIBDIR)
+
.PHONY: $(SRC_DIR)/BuildInfo.java