APP=BookScannerProto
SNAP=/zooty/downloads/my-web-pages/template/hardware/scanner/files
STORE=/zooty/appstore
FMT=%Y-%m-%d-%H-%M

build::
	ant debug
	rm -f $(STORE)/$(APP)-debug.apk
	cp bin/$(APP)-debug.apk $(STORE)

logcat::
	adb logcat 'Preview:*' '*:S'

clean::
	ant clean

snapshot::
	-ant clean
	cd .. ; tar cf - $(APP) | bzip2 -9 > \
	           $(SNAP)/$(APP)-`date +$(FMT)`.tar.bz2
