Browse Source

Do not keep generated key in build folder

tags/1.0
Timo Röhling 12 years ago
parent
commit
14e1589ab7
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      postinstall.cmake.in

+ 1
- 0
postinstall.cmake.in View File

36
 		OUTPUT_STRIP_TRAILING_WHITESPACE
36
 		OUTPUT_STRIP_TRAILING_WHITESPACE
37
 	)
37
 	)
38
 file(INSTALL "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}" DESTINATION "/etc" FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
38
 file(INSTALL "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}" DESTINATION "/etc" FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
39
+file(REMOVE "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}")
39
 endif()
40
 endif()
40
 
41
 

Loading…
Cancel
Save