~singpolyma/biboumi

54f96debcaa80ea2d49f722b0df11d227943ebba — Florent Le Coz 7 years ago 074286e
Use git-archive-all in the make dist, to include the submodules in the archive
1 files changed, 1 insertions(+), 2 deletions(-)

M CMakeLists.txt
M CMakeLists.txt => CMakeLists.txt +1 -2
@@ 153,6 153,5 @@ endif()
## Generate a release tarball from the git sources
#
add_custom_target(dist
  COMMAND git archive --prefix=${ARCHIVE_NAME}/ --format=tar HEAD
  | xz > ${CMAKE_CURRENT_BINARY_DIR}/${ARCHIVE_NAME}.tar.xz
  COMMAND git-archive-all ${CMAKE_CURRENT_BINARY_DIR}/${ARCHIVE_NAME}.tar.xz
  WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})