build debian packages should work now

This commit is contained in:
Marc Wäckerlin
2015-09-20 20:45:22 +00:00
parent 2d48d657b6
commit 510cd9787f
6 changed files with 26 additions and 12 deletions

View File

@@ -19,10 +19,14 @@ ${ANDROID_SRC}:
( cp -r "@srcdir@/$${file}" "$${file}" && \
chmod -R u+w "$${file}" ); \
done
cordova build --debug
if [ "$$(whoami)" != "root" ]; then \
cordova build --debug; \
fi
${ANDROID}: ${ANDROID_SRC}
mv $< $@
if [ "$$(whoami)" != "root" ]; then \
mv $< $@; \
fi
clean-local:
platforms/android/cordova/clean