~singpolyma/biboumi

f8112468a7a557db21aa76c3620d55172cb9bdb4 — louiz’ 7 years ago aaa2ca6
make dist creates the archive with the current time, not the git time
1 files changed, 1 insertions(+), 1 deletions(-)

M CMakeLists.txt
M CMakeLists.txt => CMakeLists.txt +1 -1
@@ 247,7 247,7 @@ install(FILES   conf/biboumi.cfg                            DESTINATION /etc/bib
## Generate a release tarball from the git sources
#
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
  # 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'