andropermsdir = $(datadir)/openida/plugins/python/androperms

androperms_DATA = 							\
	__init__.py								\
	android.png								\
	androperms.db							\
	androperms.py							\
	db.py									\
	defs.py									\
	manifest.py								\
	panel.py								\
	parser.py								\
	reader.py								\
	routine.png								\
	stack.py								\
	string.py

androperms.db:
	@tmpzip=`tempfile` ; \
	wget http://www.android-permissions.org/permissionmap.zip -O $$tmpzip ; \
	unzip -p $$tmpzip permissionmap/APICalls.txt | tail -n +2 - > androperms.db ; \
	rm $$tmpzip