summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-05-26 14:00:25 +0200
committerFlorent Le Coz <louiz@louiz.org>2015-05-26 14:00:25 +0200
commit54f96debcaa80ea2d49f722b0df11d227943ebba (patch)
tree108e6df1c528ad00d47937d1f38d88463e7f3928
parent074286efa94163cff9d6bfc643c786d866fcde5d (diff)
downloadbiboumi-54f96debcaa80ea2d49f722b0df11d227943ebba.tar.gz
biboumi-54f96debcaa80ea2d49f722b0df11d227943ebba.tar.bz2
biboumi-54f96debcaa80ea2d49f722b0df11d227943ebba.tar.xz
biboumi-54f96debcaa80ea2d49f722b0df11d227943ebba.zip
Use git-archive-all in the make dist, to include the submodules in the archive
-rw-r--r--CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 617c113..301d91d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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})