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

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 components config.xml css icon.png index.html js

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

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