From 005379ac6f418eff75ecde24e76083dd3e9233fb Mon Sep 17 00:00:00 2001 From: vitaut Date: Mon, 31 Aug 2015 08:21:59 -0700 Subject: [PATCH] Don't include .buildinfo and .doctrees in the source package Thanks to Dave Johansen. --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7957ed89..6a4613e1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})