update release creation script

This commit is contained in:
Sébastien Loriot 2021-02-04 11:16:04 +01:00
parent 6197135ba8
commit 7688066fda
1 changed files with 2 additions and 1 deletions

View File

@ -322,7 +322,7 @@ if (GENERATE_TARBALLS)
#create examples+demos #create examples+demos
execute_process( execute_process(
COMMAND tar cJf ${DESTINATION}/CGAL-${CGAL_VERSION}-examples.tar.xz -C ${DESTINATION} CGAL-${CGAL_VERSION}/examples CGAL-${CGAL_VERSION}/demo COMMAND tar cJf ${DESTINATION}/CGAL-${CGAL_VERSION}-examples.tar.xz -C ${DESTINATION} CGAL-${CGAL_VERSION}/data CGAL-${CGAL_VERSION}/examples CGAL-${CGAL_VERSION}/demo
RESULT_VARIABLE RESULT_VAR RESULT_VARIABLE RESULT_VAR
OUTPUT_VARIABLE OUT_VAR OUTPUT_VARIABLE OUT_VAR
) )
@ -336,6 +336,7 @@ if (GENERATE_TARBALLS)
file(REMOVE_RECURSE ${release_dir}/include/CGAL/Test) file(REMOVE_RECURSE ${release_dir}/include/CGAL/Test)
file(REMOVE_RECURSE ${release_dir}/include/CGAL/Testsuite/) file(REMOVE_RECURSE ${release_dir}/include/CGAL/Testsuite/)
endif() endif()
file(REMOVE_RECURSE ${release_dir}/data)
file(REMOVE_RECURSE ${release_dir}/demo) file(REMOVE_RECURSE ${release_dir}/demo)
file(REMOVE_RECURSE ${release_dir}/examples) file(REMOVE_RECURSE ${release_dir}/examples)
file(REMOVE_RECURSE ${release_dir}/scripts) file(REMOVE_RECURSE ${release_dir}/scripts)