Don't include .buildinfo and .doctrees in the source package

Thanks to Dave Johansen.
This commit is contained in:
vitaut 2015-08-31 08:21:59 -07:00
parent 75fdfe3e0e
commit 005379ac6f

View File

@ -143,7 +143,8 @@ if (EXISTS .gitignore)
string(REPLACE "*" ".*" line "${line}")
set(ignored_files ${ignored_files} "${line}$" "${line}/")
endforeach ()
set(ignored_files ${ignored_files} /.git /breathe /format-benchmark sphinx/)
set(ignored_files ${ignored_files}
/.git /breathe /format-benchmark sphinx/ .buildinfo .doctrees)
set(CPACK_SOURCE_GENERATOR ZIP)
set(CPACK_SOURCE_IGNORE_FILES ${ignored_files})