소스 검색

Documentation can no longer be installed with CMake

Fabian Wolff 9 년 전
부모
커밋
b26f60fb2b
2개의 변경된 파일5개의 추가작업 그리고 10개의 파일을 삭제
  1. 0 4
      CMakeLists.txt
  2. 5 6
      COMPILE

+ 0 - 4
CMakeLists.txt

@@ -51,10 +51,6 @@ add_subdirectory(squirrel)
 add_subdirectory(sqstdlib)
 add_subdirectory(sqstdlib)
 add_subdirectory(sq)
 add_subdirectory(sq)
 
 
-if(DEFINED INSTALL_DOC_DIR)
-  install(FILES doc/squirrel3.pdf doc/sqstdlib3.pdf DESTINATION ${INSTALL_DOC_DIR})
-endif()
-
 if(DEFINED INSTALL_INC_DIR)
 if(DEFINED INSTALL_INC_DIR)
   set(SQ_PUB_HEADERS include/sqconfig.h
   set(SQ_PUB_HEADERS include/sqconfig.h
                      include/sqstdaux.h
                      include/sqstdaux.h

+ 5 - 6
COMPILE

@@ -33,7 +33,7 @@ under Linux, type something like
  $ mkdir build # Create temporary build directory
  $ mkdir build # Create temporary build directory
  $ cd build
  $ cd build
  $ cmake .. # CMake will determine all the necessary information,
  $ cmake .. # CMake will determine all the necessary information,
-            # including the platform (32- vs. 64-Bit)
+            # including the platform (32- vs. 64-bit)
  $ make
  $ make
  $ make install
  $ make install
  $ cd ..; rm -r build
  $ cd ..; rm -r build
@@ -51,12 +51,11 @@ can be specified. For instance,
  $ cmake .. -DINSTALL_LIB_DIR=lib64
  $ cmake .. -DINSTALL_LIB_DIR=lib64
 
 
 will install the libraries into a 'lib64' subdirectory in the top
 will install the libraries into a 'lib64' subdirectory in the top
-source directory. If INSTALL_DOC_DIR is set, the PDF documentation
-will be installed into the directory the value of INSTALL_DOC_DIR
+source directory. If INSTALL_INC_DIR is set, the public header files
+will be installed into the directory the value of INSTALL_INC_DIR
 points to. There is no default directory - if you want only the
 points to. There is no default directory - if you want only the
-binaries and no documentation, just don't specify INSTALL_DOC_DIR, and
-no documentation will be installed. The same applies for
-INSTALL_INC_DIR, which can install the public header files.
+binaries and no headers, just don't specify INSTALL_INC_DIR, and no
+header files will be installed.
 
 
 Under Windows, it is probably easiest to use the CMake GUI interface,
 Under Windows, it is probably easiest to use the CMake GUI interface,
 although invoking CMake from the command line as explained above
 although invoking CMake from the command line as explained above