aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtemplates/html5/AGLbuild2
-rwxr-xr-xtemplates/hybrid-html5/AGLbuild2
-rwxr-xr-xtemplates/native/AGLbuild2
-rwxr-xr-xtemplates/service/AGLbuild2
4 files changed, 8 insertions, 0 deletions
diff --git a/templates/html5/AGLbuild b/templates/html5/AGLbuild
index 4cfd53a..5f8f595 100755
--- a/templates/html5/AGLbuild
+++ b/templates/html5/AGLbuild
@@ -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}
diff --git a/templates/hybrid-html5/AGLbuild b/templates/hybrid-html5/AGLbuild
index 4cfd53a..5f8f595 100755
--- a/templates/hybrid-html5/AGLbuild
+++ b/templates/hybrid-html5/AGLbuild
@@ -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}
diff --git a/templates/native/AGLbuild b/templates/native/AGLbuild
index 4cfd53a..5f8f595 100755
--- a/templates/native/AGLbuild
+++ b/templates/native/AGLbuild
@@ -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}
diff --git a/templates/service/AGLbuild b/templates/service/AGLbuild
index 4cfd53a..5f8f595 100755
--- a/templates/service/AGLbuild
+++ b/templates/service/AGLbuild
@@ -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}