fixed makefile upstream/0.2013.7.22
authorKevron Rees <kevron_m_rees@linux.intel.com>
Mon, 22 Jul 2013 22:33:52 +0000 (15:33 -0700)
committerKevron Rees <kevron_m_rees@linux.intel.com>
Mon, 22 Jul 2013 22:33:52 +0000 (15:33 -0700)
Makefile

index 20b0c31..b47f54e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 PROJECT = GhostCluster
 
-INSTALL_DIR = ${DESTDIR}/usr/share/$(PROJECT)
+INSTALL_DIR = ${DESTDIR}/opt/usr/apps/.preinstallWidgets
 DESKTOP_DIR = ${DESTDIR}/usr/share/applications
 ICON_DIR    = ${DESTDIR}/usr/share/pixmaps
 VERSION     = $(shell grep version manifest.json | cut -f4 -d"\"")
@@ -18,6 +18,11 @@ all:
 widget:
        zip -r $(PKG_NAME).wgt $(FILES) assets
 
+install_widget:
+       @echo "installing wgt widget file"
+       mkdir -p $(INSTALL_DIR)/
+       cp $(PKG_NAME).wgt $(INSTALL_DIR)/
+
 install:
        @echo "installing wgt widget file"
        mkdir -p $(INSTALL_DIR)/