diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2014-06-23 09:22:49 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2014-09-06 12:46:01 -0700 |
commit | 461f0ad0b76b444d9837d7ed5a88046ab46f2f37 (patch) | |
tree | ef5ac4c20695712e5d4d055d2eea15c932467f6f | |
parent | fdf11fa8f23db2b1a62e7946a87f729d0e9ce37a (diff) | |
download | waffle-461f0ad0b76b444d9837d7ed5a88046ab46f2f37.tar.gz |
cmake: Move install rule for README, LICENSE
The rule lived in a strange place. The sources for the installation
rule lived in the directory *above* the rule.
Move the rule from "$TOP/doc/CMakeLists.txt" to "$TOP/CMakeLists.txt".
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r-- | CMakeLists.txt | 12 | ||||
-rw-r--r-- | doc/CMakeLists.txt | 8 |
2 files changed, 12 insertions, 8 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8e62e40..4f159da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,5 +112,17 @@ install( ) # ------------------------------------------------------------------------------ +# Install core documentation +# ------------------------------------------------------------------------------ + +install( + FILES + "README.txt" + "LICENSE.txt" + DESTINATION "${CMAKE_INSTALL_DOCDIR}" + COMPONENT coredocs + ) + +# ------------------------------------------------------------------------------ include(WafflePrintConfigurationSummary) diff --git a/doc/CMakeLists.txt b/doc/CMakeLists.txt index a2d46e6..a74c6d4 100644 --- a/doc/CMakeLists.txt +++ b/doc/CMakeLists.txt @@ -1,12 +1,4 @@ install( - FILES - "${CMAKE_SOURCE_DIR}/README.txt" - "${CMAKE_SOURCE_DIR}/LICENSE.txt" - DESTINATION "${CMAKE_INSTALL_DOCDIR}" - COMPONENT coredocs - ) - -install( DIRECTORY "${CMAKE_SOURCE_DIR}/doc/release-notes" DESTINATION "${CMAKE_INSTALL_DOCDIR}" COMPONENT releasenotes |