summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-02-13 15:28:33 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-02-13 15:28:33 -0500
commita2c7f8d4b9fda53dba70b836b3aada428f36d33c (patch)
tree5c18a3ba560d8417c8216bebacaa49fb379fa325
parentcb51b9944f7932fb4b106af9ece1c7d1d41e596c (diff)
Specify which version of Android to target.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index a6469b6..a499fc1 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ pdfjs_ver = 1.6.210
pdfjs = https://github.com/mozilla/pdf.js/releases/download/v$(pdfjs_ver)/pdfjs-$(pdfjs_ver)-dist.zip
frc_safety_manual = http://www.firstinspires.org/sites/default/files/uploads/resource_library/frc/team-resources/safety/2017/2017-safety-manual.pdf
-platforms = android browser
+platforms = android@5.0.0 browser
sources = \
www/FIRST_Safety_Manual.pdf \
@@ -79,7 +79,7 @@ platforms/android/build/outputs/apk/android-debug.apk: platforms/android config.
test -f $@
platforms/%:
- $(CORDOVA) platform add $*
+ $(CORDOVA) platform add $(filter $*@% $*,$(platforms))
www/FIRST_Safety_Manual.pdf:
$(WGET) -O $@ $(frc_safety_manual)