D14817: Convert manual install test to an autotest
Ralf Habacker
noreply at phabricator.kde.org
Wed Aug 15 10:10:33 BST 2018
habacker added a comment.
another option would be to force the install path in the cmake call
add_test(kdoctools_install ${CMAKE_CTEST_COMMAND}
--build-and-test
"${CMAKE_CURRENT_SOURCE_DIR}/kdoctools-install"
"${CMAKE_CURRENT_BINARY_DIR}/kdoctools-install"
--build-generator ${CMAKE_GENERATOR}
--build-makeprogram ${CMAKE_MAKE_PROGRAM}
--build-target install
--build-options
"-DCMAKE_MODULE_PATH=${CMAKE_MODULE_PATH}"
"-DCMAKE_INSTALL_PREFIX:PATH=${CMAKE_CURRENT_BINARY_DIR}/kdoctools-install/destdir"
"-DKF5DocTools_DIR=${CMAKE_BINARY_DIR}/cmake"
"-DKDOCTOOLS_CUSTOMIZATION_DIR=${KDOCTOOLS_CUSTOMIZATION_DIR}"
"-DKDOCTOOLS_ENABLE_HTMLHANDBOOK=1"
...
"-DKDE_INSTALL_MANDIR=share/man"
"-DKDE_INSTALL_DOCBUNDLEDIR=share/doc/HTML"
REPOSITORY
R238 KDocTools
REVISION DETAIL
https://phabricator.kde.org/D14817
To: habacker, ltoscano
Cc: bcooksley, kde-frameworks-devel, ltoscano, kde-doc-english, michaelh, ngraham, bruns, skadinna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180815/206c2072/attachment.html>
More information about the Kde-frameworks-devel
mailing list