[mlpack-svn] r11267 - mlpack/trunk

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Mon Jan 23 23:30:44 EST 2012


Author: rcurtin
Date: 2012-01-23 23:30:44 -0500 (Mon, 23 Jan 2012)
New Revision: 11267

Modified:
   mlpack/trunk/CMakeLists.txt
Log:
Don't use GNUInstallDirs.  Assemble /usr/share/doc/mlpack/ by hand (it's not so
hard!).


Modified: mlpack/trunk/CMakeLists.txt
===================================================================
--- mlpack/trunk/CMakeLists.txt	2012-01-24 03:34:15 UTC (rev 11266)
+++ mlpack/trunk/CMakeLists.txt	2012-01-24 04:30:44 UTC (rev 11267)
@@ -128,10 +128,8 @@
     COMMENT "Copying API documentation to build directory"
   )
 
-  # Add installation hook for documentation (only HTML)
-  include(GNUInstallDirs)
   install(DIRECTORY ${CMAKE_BINARY_DIR}/doc/html
-    DESTINATION ${CMAKE_INSTALL_DOCDIR}
+    DESTINATION share/doc/mlpack
     COMPONENT doc
   )
 endif (DOXYGEN_FOUND)




More information about the mlpack-svn mailing list