Travis: Exclude CMake .pc files

Exclude the unconfigured .pc input files of the CMake
based install: they shall not be packed/distributed,
only their outputs are
pull/3406/head
Axel Huebl 8 years ago
parent 2f3cf52722
commit ebe659dced
No known key found for this signature in database
GPG Key ID: 472D2C364E21D94B
  1. 1
      tests.sh

@ -63,6 +63,7 @@ build_cpp_distcheck() {
# List all files that should be included in the distribution package.
git ls-files | grep "^\(java\|python\|objectivec\|csharp\|js\|ruby\|php\|cmake\|examples\)" |\
grep -v ".gitignore" | grep -v "java/compatibility_tests" |\
grep -v "cmake/protobuf.*\.pc\.cmake" |\
grep -v "python/compatibility_tests" | grep -v "csharp/compatibility_tests" > dist.lst
# Unzip the dist tar file.
DIST=`ls *.tar.gz`

Loading…
Cancel
Save