]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
fixing CMake manual installation problem
authorJosh <jrosenba@cisco.com>
Thu, 4 Dec 2014 02:38:40 +0000 (20:38 -0600)
committerJosh <jrosenba@cisco.com>
Thu, 4 Dec 2014 02:38:40 +0000 (20:38 -0600)
doc/CMakeLists.txt

index 8d44aeac2f0bcee059ca98f896d85d30a04de2f2..121b681f0038684a7b7ce80ccf4f193f87d77b39 100644 (file)
@@ -348,19 +348,19 @@ endforeach(file)
 
 add_custom_target(snort_manuals ALL DEPENDS ${BUILT_DIST})
 
-if ("${BUILT_DIST}" )
+if (BUILT_DIST)
     install (FILES ${BUILT_DIST} DESTINATION "${SNORT_DATA_DIR}")
 endif()
 
-if ("${PACKAGED_DIST}")
+if (PACKAGED_DIST)
     install (FILES ${PACKAGED_DIST} DESTINATION "${SNORT_DATA_DIR}")
 endif()
 
-if ("${UNBUILT_SOURCES}")
+if (UNBUILT_SOURCES)
     install (FILES ${UNBUILT_SOURCES} DESTINATION "${SNORT_DATA_DIR}")
 endif()
 
-if ("${SNORT_MANUAL_CHUNKED}")
+if (SNORT_MANUAL_CHUNKED)
     install (DIRECTORY ${SNORT_MANUAL_CHUNKED}/ DESTINATION "${SNORT_DATA_DIR}/snort_manual")
 endif()
 
@@ -370,7 +370,6 @@ set_property(
     ADDITIONAL_MAKE_CLEAN_FILES ${UNBUILT_SOURCES} snort_manual.chunked
 )
 
-
 ###############################################################################
 ###############################################################################