pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cmake ke/build.mk: use ${TEST_TARGET} and ${INST...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0408561d177b
branches:  trunk
changeset: 382971:0408561d177b
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Aug 09 21:45:08 2022 +0000

description:
ke/build.mk: use ${TEST_TARGET} and ${INSTALL_TARGET}

Noted by adam@

diffstat:

 devel/cmake/build.mk |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r d91a1ae7f8d0 -r 0408561d177b devel/cmake/build.mk
--- a/devel/cmake/build.mk      Tue Aug 09 21:01:49 2022 +0000
+++ b/devel/cmake/build.mk      Tue Aug 09 21:45:08 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: build.mk,v 1.1 2022/08/09 16:08:43 wiz Exp $
+# $NetBSD: build.mk,v 1.2 2022/08/09 21:45:08 wiz Exp $
 #
 # This Makefile fragment supports building using the CMake build tool.
 #
@@ -90,7 +90,7 @@
 .for d in ${TEST_DIRS}
        ${RUN} cd ${WRKSRC}/${d}/${CMAKE_BUILD_DIR} && \
                ${SETENV} ${TEST_ENV} \
-               ${_CMAKE_BUILD_TOOL} ${CMAKE_BUILD_ARGS} test
+               ${_CMAKE_BUILD_TOOL} ${CMAKE_BUILD_ARGS} ${TEST_TARGET}
 .endfor
 
 do-install: cmake-install
@@ -98,5 +98,5 @@
 .for d in ${INSTALL_DIRS}
        ${RUN} cd ${WRKSRC}/${d}/${CMAKE_BUILD_DIR} && \
                ${SETENV} ${INSTALL_ENV} \
-               ${_CMAKE_BUILD_TOOL} ${CMAKE_INSTALL_ARGS} install
+               ${_CMAKE_BUILD_TOOL} ${CMAKE_INSTALL_ARGS} ${INSTALL_TARGET}
 .endfor



Home | Main Index | Thread Index | Old Index