Skip to content

Commit

Permalink
add top-level cmake script for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Aug 4, 2013
1 parent c25dd0d commit 5c96062
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 7 deletions.
22 changes: 22 additions & 0 deletions CMakeInstallDocs.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# CMakeInstallDocs.txt
#
# Copyright (C) 2009-12 by RStudio, Inc.
#
# Unless you have received this program directly from RStudio pursuant
# to the terms of a commercial license agreement with RStudio, then
# this program is licensed to you under the terms of version 3 of the
# GNU Affero General Public License. This program is distributed WITHOUT
# ANY EXPRESS OR IMPLIED WARRANTY, INCLUDING THOSE OF NON-INFRINGEMENT,
# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Please refer to the
# AGPL (http://www.gnu.org/licenses/agpl-3.0.txt) for more details.
#
#

install(FILES README.md
INSTALL
COPYING
NOTICE
${CMAKE_CURRENT_BINARY_DIR}/SOURCE
${CMAKE_CURRENT_BINARY_DIR}/VERSION
DESTINATION ${RSTUDIO_INSTALL_SUPPORTING})
8 changes: 1 addition & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,7 @@ if (NOT RSTUDIO_SESSION_WIN64)
${CMAKE_CURRENT_BINARY_DIR}/VERSION)

# install root docs
install(FILES README.md
INSTALL
COPYING
NOTICE
${CMAKE_CURRENT_BINARY_DIR}/SOURCE
${CMAKE_CURRENT_BINARY_DIR}/VERSION
DESTINATION ${RSTUDIO_INSTALL_SUPPORTING})
include(CMakeInstallDocs.txt)
endif()

# overlay
Expand Down

0 comments on commit 5c96062

Please sign in to comment.