summaryrefslogtreecommitdiffstats
path: root/CAN-binder
diff options
context:
space:
mode:
Diffstat (limited to 'CAN-binder')
-rwxr-xr-xCAN-binder/build.mk (renamed from CAN-binder/AGLBuild.mk)16
1 files changed, 11 insertions, 5 deletions
diff --git a/CAN-binder/AGLBuild.mk b/CAN-binder/build.mk
index ccbc28b..5f8f595 100755
--- a/CAN-binder/AGLBuild.mk
+++ b/CAN-binder/build.mk
@@ -27,15 +27,21 @@ clean:
@([ -d ${BUILD_DIR} ] && make -C ${BUILD_DIR} clean) || echo Nothing to clean
mrproper:
- rm -rf ${BUILD_DIR}
+ @rm -rf ${BUILD_DIR}
build: ${BUILD_DIR}/Makefile
- cmake --build ${BUILD_DIR} --target all
+ @cmake --build ${BUILD_DIR} --target all
package: config.xml.in icon.png.in build | $(PKG_FILELIST)
- mkdir -p ${BUILD_DIR}/$@/{bin,etc,lib,htdocs,data}
- cmake --build ${BUILD_DIR} --target widget
+ @mkdir -p ${BUILD_DIR}/$@/bin
+ @mkdir -p ${BUILD_DIR}/$@/etc
+ @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}
- @[ -f ${BUILD_DIR}/Makefile ] || (cd ${BUILD_DIR} && cmake ${CMAKE_OPTS} ..) \ No newline at end of file
+ @[ -f ${BUILD_DIR}/Makefile ] || (cd ${BUILD_DIR} && cmake ${CMAKE_OPTS} ..)