54f87532a9dd0140f901b64f2c8b2f83f5dc58a4
[profile/ivi/html5_UI_Dashboard.git] / Makefile
1 PROJECT = html5UIDashboard
2
3 VERSION := 0.0.1
4 PACKAGE = $(PROJECT)-$(VERSION)
5
6 INSTALL_FILES = $(PROJECT).wgt
7 INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets
8
9 wgtPkg:
10         cp -r ${DESTDIR}/opt/usr/apps/_common/js/services js/
11         cp -r ${DESTDIR}/opt/usr/apps/_common/css/* css/
12         zip -r $(PROJECT).wgt components config.xml css icon.png index.html js
13
14 install:
15         @echo "Installing Dashboard, stand by..."
16         mkdir -p $(INSTALL_DIR)/
17         cp $(PROJECT).wgt $(INSTALL_DIR)/
18
19 dist:
20         tar czf ../$(PACKAGE).tar.bz2 .