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