From: TimePath Date: Sat, 5 May 2018 12:28:00 +0000 (+1000) Subject: cmake: always build pk3 X-Git-Tag: xonotic-v0.8.5~2147 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5335f6da2231a14d03c27593b59e8f6ad211e850;p=xonotic%2Fxonotic-data.pk3dir.git cmake: always build pk3 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9a66f9fd2..f732e5b7a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,12 +125,12 @@ copy(progs) copy(menu) function(pack prog) - add_custom_target(${prog}.pk3 + add_custom_target(${prog}.pk3 ALL DEPENDS ${prog}-${GIT_DESC}.pk3 ) add_custom_command(OUTPUT ${prog}-${GIT_DESC}.pk3 DEPENDS ${prog} - COMMAND ${CMAKE_COMMAND} -E echo "http://xonotic.org" > "${prog}-${GIT_DESC}.txt" + COMMAND ${CMAKE_COMMAND} -E echo "https://xonotic.org" > "${prog}-${GIT_DESC}.txt" COMMAND ${CMAKE_COMMAND} -E copy "$/${prog}.dat" "${prog}-${GIT_DESC}.dat" COMMAND ${CMAKE_COMMAND} -E copy "$/${prog}.lno" "${prog}-${GIT_DESC}.lno" COMMAND ${CMAKE_COMMAND} -E tar "cfv" "${prog}-${GIT_DESC}.pk3" --format=zip