Skip to content

Commit

Permalink
make distcheck run install and installcheck targets
Browse files Browse the repository at this point in the history
  • Loading branch information
trws committed Jul 23, 2023
1 parent 798a751 commit 155388f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,9 @@ add_custom_target(recheck
# run installcheck, if it passes then write out version information and pack up
# a tarball with the result
add_custom_target(distcheck
DEPENDS installcheck
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} install
COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} installcheck
COMMAND git archive --format=tar.gz
--add-virtual-file=flux-sched.ver:${FLUX_SCHED_VER}
--prefix=flux-sched-${FLUX_SCHED_VER}/
Expand Down

0 comments on commit 155388f

Please sign in to comment.