anope- supernets anope source code & configuration |
git clone git://git.acid.vegas/anope.git |
Log | Files | Refs | Archive | README |
CMakeLists.txt (858B)
1 # We only need to install these docs on Windows as most Windows installations will be binary, not source 2 if(WIN32) 3 # Only install given files from this directory 4 # NOTE: I would've had this just find all files in the directory, but that would include files not needed (like this file) 5 execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/README ${CMAKE_CURRENT_BINARY_DIR}/README.txt) 6 if(IN_SOURCE) 7 # Add README.txt to list of files for CPack to ignore 8 add_to_cpack_ignored_files("README.txt$" TRUE) 9 endif(IN_SOURCE) 10 set(DOCS Changes Changes.conf DEFCON FAQ INSTALL LANGUAGE MODULES NEWS ${CMAKE_CURRENT_BINARY_DIR}/README.txt WIN32.txt) 11 install(FILES ${DOCS} 12 DESTINATION ${DOC_DIR} 13 ) 14 set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CMAKE_CURRENT_BINARY_DIR}/README.txt") 15 endif(WIN32)