Browse Source

* tune 'dist' target

master v0.1
Alex 'AdUser' Z 9 years ago
parent
commit
52e6221e0f
  1. 6
      CMakeLists.txt

6
CMakeLists.txt

@ -1,5 +1,5 @@
set(CNAME "f2b") set(CNAME "f2b")
set(VERSION 0.01) set(VERSION 0.1)
project(${CNAME} C) project(${CNAME} C)
cmake_minimum_required(VERSION 2.6) cmake_minimum_required(VERSION 2.6)
@ -38,8 +38,8 @@ install(FILES "docs/f2b.conf.sample" DESTINATION "${CMAKE_INSTALL_PREFIX}/etc/f2
add_custom_target("dist" COMMAND add_custom_target("dist" COMMAND
"git" "archive" "--format=tar.gz" "git" "archive" "--format=tar.gz"
"--output=${CNAME}_${VERSION}.tar.gz" "--output=${CNAME}_v${VERSION}.tar.gz"
"--prefix=${CNAME}_${VERSION}/" "${VERSION}") "--prefix=${CNAME}_v${VERSION}/" "v${VERSION}")
add_custom_target("dist-latest" COMMAND add_custom_target("dist-latest" COMMAND
"git" "archive" "--format=tar.gz" "git" "archive" "--format=tar.gz"

Loading…
Cancel
Save