1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

cmake ignore non source things for make dist

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2013-03-10 08:11:48 +08:00
parent c3872c5fe0
commit 2aab3f9513

View file

@ -726,6 +726,9 @@ if (NOT WITHOUT_TESTAPPS AND NOT WITHOUT_SERVER)
COMPONENT examples)
endif()
# build subdir is not part of sources
set(CPACK_SOURCE_IGNORE_FILES $(CPACK_SOURCE_IGNORE_FILES) ".git" "build" "tgz" "tar.gz")
# Most people are more used to "make dist" compared to "make package_source"
add_custom_target(dist COMMAND ${CMAKE_MAKE_PROGRAM} package_source)