From 0dce5c26ecec594b3f25b9e003c830874a690e1c Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 6 Mar 2016 02:42:09 +0100 Subject: Clean-up python files during the clean and do not delete driver Makefile while packaging --- pywrap/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pywrap/CMakeLists.txt') diff --git a/pywrap/CMakeLists.txt b/pywrap/CMakeLists.txt index 033298e..f278b86 100644 --- a/pywrap/CMakeLists.txt +++ b/pywrap/CMakeLists.txt @@ -24,3 +24,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pcilib.py DESTINATION ${PYTHON_INSTALL if (NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR) file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/test_pcilib.py DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) endif(NOT CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR) + +set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "__pycache__;pcilib.pyc;pcipywrap.pyc") + + -- cgit v1.2.3