summaryrefslogtreecommitdiffstats
path: root/pywrap
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-03-06 02:42:09 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-03-06 02:42:09 +0100
commit0dce5c26ecec594b3f25b9e003c830874a690e1c (patch)
tree9909c8e8674723758d98b98e9b84e9c610562375 /pywrap
parent43029f91d06a76fc38b85e283d368c1d06fcbc61 (diff)
downloadpcitool-0dce5c26ecec594b3f25b9e003c830874a690e1c.tar.gz
pcitool-0dce5c26ecec594b3f25b9e003c830874a690e1c.tar.bz2
pcitool-0dce5c26ecec594b3f25b9e003c830874a690e1c.tar.xz
pcitool-0dce5c26ecec594b3f25b9e003c830874a690e1c.zip
Clean-up python files during the clean and do not delete driver Makefile while packaging
Diffstat (limited to 'pywrap')
-rw-r--r--pywrap/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
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")
+
+