From 427df5fc2a5f1ea0ee4e31ceafba9c6cc5803fd2 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Thu, 28 May 2015 23:44:44 +0200 Subject: Revert "Use git-archive-all in the make dist, to include the submodules in the archive" This reverts commit 54f96debcaa80ea2d49f722b0df11d227943ebba. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 301d91d..617c113 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,5 +153,6 @@ endif() ## Generate a release tarball from the git sources # add_custom_target(dist - COMMAND git-archive-all ${CMAKE_CURRENT_BINARY_DIR}/${ARCHIVE_NAME}.tar.xz + COMMAND git archive --prefix=${ARCHIVE_NAME}/ --format=tar HEAD + | xz > ${CMAKE_CURRENT_BINARY_DIR}/${ARCHIVE_NAME}.tar.xz WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) -- cgit v1.2.3