Commit f3b99713 authored by Langella Olivier's avatar Langella Olivier
Browse files

symbolic link to build target targz

parent 7d7495b2
......@@ -325,7 +325,7 @@ INSTALL(FILES ${masschroq_SOURCE_DIR}/doc/man1/masschroq.1.gz DESTINATION share/
add_custom_target(targz
cpack -G TGZ --config CPackSourceConfig.cmake && tar xvfz masschroq-${MASSCHROQ_VERSION}.tar.gz
cpack -G TGZ --config CPackSourceConfig.cmake && tar xvfz masschroq-${MASSCHROQ_VERSION}.tar.gz && ln -s ${CPACK_PACKAGE_NAME}-${MASSCHROQ_VERSION}.tar.gz ${CPACK_PACKAGE_NAME}_${MASSCHROQ_VERSION}.orig.tar.gz
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
COMMENT "Creating .tar.gz" VERBATIM
)
......
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