summaryrefslogtreecommitdiff
path: root/Makefile
blob: cb90ad083b49b3ebbf95af7caec01b8f1a276a16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
PROJECT = html5UIPhone

VERSION := 0.0.1
PACKAGE = $(PROJECT)-$(VERSION)

INSTALL_FILES = $(PROJECT).wgt
INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets

wgtPkg:
	cp -r ${DESTDIR}/opt/usr/apps/_common/js/services js/
	cp -r ${DESTDIR}/opt/usr/apps/_common/css/* css/
	zip -r $(PROJECT).wgt config.xml css data icon.png index.html js templates

install:
	@echo "Installing Phone, stand by..."
	mkdir -p $(INSTALL_DIR)/
	cp $(PROJECT).wgt $(INSTALL_DIR)/

dist:
	tar czf ../$(PACKAGE).tar.bz2 .