X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/projects.git/blobdiff_plain/d9cf8cb8c48333ccb726cabb189827cf061c73ce..b24cf353360b1352e1748d23b47375c4adafa168:/tools/make/cmake_check diff --git a/tools/make/cmake_check b/tools/make/cmake_check index aa85d8c..22f6eb4 100755 --- a/tools/make/cmake_check +++ b/tools/make/cmake_check @@ -3,6 +3,18 @@ set -e cd ../build if [ -e debian/$paket.cmake ] then + # do checks + if [ -e debian/$paket.build ] + then + echo "cmake is not compatible with other builds. Remove $paket.build" + exit 1 + fi + if [ -e debian/$paket.prebuild ] + then + echo "cmake is not compatible with other builds. Remove $paket.prebuild" + exit 2 + fi + cp debian/$paket.cmake CMakeLists.txt echo "make" > debian/$paket.build chmod 755 debian/$paket.build