Commit f8112468 authored by louiz’'s avatar louiz’

make dist creates the archive with the current time, not the git time

parent aaa2ca67
...@@ -247,7 +247,7 @@ install(FILES conf/biboumi.cfg DESTINATION /etc/bib ...@@ -247,7 +247,7 @@ install(FILES conf/biboumi.cfg DESTINATION /etc/bib
## Generate a release tarball from the git sources ## Generate a release tarball from the git sources
# #
add_custom_command(OUTPUT ${ARCHIVE_NAME}.tar.xz add_custom_command(OUTPUT ${ARCHIVE_NAME}.tar.xz
COMMAND git archive --prefix=${ARCHIVE_NAME}/ --format=tar HEAD COMMAND git archive --prefix=${ARCHIVE_NAME}/ --format=tar HEAD^{tree}
> ${CMAKE_CURRENT_BINARY_DIR}/${ARCHIVE_NAME}.tar > ${CMAKE_CURRENT_BINARY_DIR}/${ARCHIVE_NAME}.tar
# Append this specific file that is not part of the git repo # Append this specific file that is not part of the git repo
COMMAND tar -rf ${CMAKE_CURRENT_BINARY_DIR}/${ARCHIVE_NAME}.tar -P ${SOURCE_DIR}/single_include/catch.hpp --xform 's|/.*/|${ARCHIVE_NAME}/tests/|g' COMMAND tar -rf ${CMAKE_CURRENT_BINARY_DIR}/${ARCHIVE_NAME}.tar -P ${SOURCE_DIR}/single_include/catch.hpp --xform 's|/.*/|${ARCHIVE_NAME}/tests/|g'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment