PROJECT = MediaPlayer INSTALL_FILES = images js MediaPlayer.png index.html VERSION := 0.0.1 PACKAGE = $(PROJECT)-$(VERSION) INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets all: @echo "Nothing to build" wgtPkg: zip -r $(PROJECT).wgt js images css index.html manifest.json config.xml MediaPlayer.png install: @echo "Installing MediaPlayer, stand by..." mkdir -p $(INSTALL_DIR)/ cp $(PROJECT).wgt $(INSTALL_DIR)/ dist: tar czf ../$(PACKAGE).tar.bz2 .