Use git-archive-all in the make dist, to include the submodules in the archive
This commit is contained in:
+1
-2
@@ -153,6 +153,5 @@ endif()
|
|||||||
## Generate a release tarball from the git sources
|
## Generate a release tarball from the git sources
|
||||||
#
|
#
|
||||||
add_custom_target(dist
|
add_custom_target(dist
|
||||||
COMMAND git archive --prefix=${ARCHIVE_NAME}/ --format=tar HEAD
|
COMMAND git-archive-all ${CMAKE_CURRENT_BINARY_DIR}/${ARCHIVE_NAME}.tar.xz
|
||||||
| xz > ${CMAKE_CURRENT_BINARY_DIR}/${ARCHIVE_NAME}.tar.xz
|
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR})
|
||||||
|
|||||||
Reference in New Issue
Block a user