build: have `make clean` clear out cmake files

master
Mike Frysinger 2016-06-24 03:51:05 -04:00
parent b57b5a0043
commit 82586ee739
1 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,14 @@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src config tests
EXTRA_DIST = test docs examples windows VMS cmake netware bootstrap.sh CMakeLists.txt CONTRIBUTORS README.md
clean-local:
find -maxdepth 3 \
'(' \
-name CMakeCache.txt -o \
-name CMakeFiles -o \
-name CTestTestfile.cmake -o \
-name cmake_install.cmake \
')' \
-exec rm -rf {} +
rm -rf Bin CPackConfig.cmake CPackSourceConfig.cmake