Updating template to the new AGLbuild script
authorRomain Forlot <romain.forlot@iot.bzh>
Sat, 13 May 2017 11:44:23 +0000 (13:44 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Sat, 13 May 2017 11:44:38 +0000 (13:44 +0200)
Change-Id: I3346850bf36797aa6a73db39c630ac5ea668cee5
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
templates/html5/AGLbuild
templates/hybrid-html5/AGLbuild
templates/native/AGLbuild
templates/service/AGLbuild

index 4cfd53a..5f8f595 100755 (executable)
@@ -38,7 +38,9 @@ package: config.xml.in icon.png.in build | $(PKG_FILELIST)
        @mkdir -p ${BUILD_DIR}/$@/lib
        @mkdir -p ${BUILD_DIR}/$@/htdocs
        @mkdir -p ${BUILD_DIR}/$@/data
+       @mkdir -p package
        @cmake --build ${BUILD_DIR} --target widget
+       @cp ${BUILD_DIR}/*wgt package
 
 ${BUILD_DIR}/Makefile:
        @[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR}
index 4cfd53a..5f8f595 100755 (executable)
@@ -38,7 +38,9 @@ package: config.xml.in icon.png.in build | $(PKG_FILELIST)
        @mkdir -p ${BUILD_DIR}/$@/lib
        @mkdir -p ${BUILD_DIR}/$@/htdocs
        @mkdir -p ${BUILD_DIR}/$@/data
+       @mkdir -p package
        @cmake --build ${BUILD_DIR} --target widget
+       @cp ${BUILD_DIR}/*wgt package
 
 ${BUILD_DIR}/Makefile:
        @[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR}
index 4cfd53a..5f8f595 100755 (executable)
@@ -38,7 +38,9 @@ package: config.xml.in icon.png.in build | $(PKG_FILELIST)
        @mkdir -p ${BUILD_DIR}/$@/lib
        @mkdir -p ${BUILD_DIR}/$@/htdocs
        @mkdir -p ${BUILD_DIR}/$@/data
+       @mkdir -p package
        @cmake --build ${BUILD_DIR} --target widget
+       @cp ${BUILD_DIR}/*wgt package
 
 ${BUILD_DIR}/Makefile:
        @[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR}
index 4cfd53a..5f8f595 100755 (executable)
@@ -38,7 +38,9 @@ package: config.xml.in icon.png.in build | $(PKG_FILELIST)
        @mkdir -p ${BUILD_DIR}/$@/lib
        @mkdir -p ${BUILD_DIR}/$@/htdocs
        @mkdir -p ${BUILD_DIR}/$@/data
+       @mkdir -p package
        @cmake --build ${BUILD_DIR} --target widget
+       @cp ${BUILD_DIR}/*wgt package
 
 ${BUILD_DIR}/Makefile:
        @[ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR}