From: Josh Date: Thu, 4 Dec 2014 02:38:40 +0000 (-0600) Subject: fixing CMake manual installation problem X-Git-Tag: 3.0.0-233~1116^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bd797fc84b22aa212ced592a1d24c03f358594d;p=thirdparty%2Fsnort3.git fixing CMake manual installation problem --- diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index 8d44aeac2..121b681f0 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -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 ) - ############################################################################### ###############################################################################