[mlpack-svn] r11433 - mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Tue Feb 7 20:08:43 EST 2012


Author: speet3
Date: 2012-02-07 20:08:42 -0500 (Tue, 07 Feb 2012)
New Revision: 11433

Modified:
   mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches/dont-dynamically-generate-manpages.patch
Log:
remove the manpage generation alltogether

Modified: mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches/dont-dynamically-generate-manpages.patch
===================================================================
--- mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches/dont-dynamically-generate-manpages.patch	2012-02-07 23:16:04 UTC (rev 11432)
+++ mlpack/conf/packages/mlpack/branches/1.0.X/debian/patches/dont-dynamically-generate-manpages.patch	2012-02-08 01:08:42 UTC (rev 11433)
@@ -1,21 +1,60 @@
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
-@@ -144,7 +144,7 @@
-     message(WARNING "txt2man not found; man pages will not be generated.")
-   else (NOT TXT2MAN)
-     # We have the tools.  We can make them.
+@@ -134,30 +134,30 @@
+   )
+ endif (DOXYGEN_FOUND)
+ 
+-# Make a target to generate the man page documentation, but only if we are on a
+-# UNIX-like system.
+-if (UNIX)
+-  find_program(TXT2MAN txt2man)
+-
+-  # It's not a requirement that we make man pages.
+-  if (NOT TXT2MAN)
+-    message(WARNING "txt2man not found; man pages will not be generated.")
+-  else (NOT TXT2MAN)
+-    # We have the tools.  We can make them.
 -    add_custom_target(man ALL
-+    add_custom_target(man
-       ${CMAKE_CURRENT_SOURCE_DIR}/CMake/allexec2man.sh
-           ${CMAKE_CURRENT_SOURCE_DIR}/CMake/exec2man.sh
-           ${CMAKE_BINARY_DIR}/share/man
-@@ -157,7 +157,7 @@
-     )
- 
-     # Set the rules to install the documentation.
+-      ${CMAKE_CURRENT_SOURCE_DIR}/CMake/allexec2man.sh
+-          ${CMAKE_CURRENT_SOURCE_DIR}/CMake/exec2man.sh
+-          ${CMAKE_BINARY_DIR}/share/man
+-      WORKING_DIRECTORY
+-          ${CMAKE_BINARY_DIR}/bin
+-      DEPENDS
+-          allkfn allknn emst gmm hmm_generate hmm_loglik hmm_train hmm_viterbi
+-          kmeans lars linear_regression mvu nbc nca pca radical
+-      COMMENT "Generating man pages from built executables."
+-    )
+-
+-    # Set the rules to install the documentation.
 -    install(DIRECTORY ${CMAKE_BINARY_DIR}/share/man/
 -        DESTINATION share/man/man1/)
+-  endif (NOT TXT2MAN)
+-endif (UNIX)
++## Make a target to generate the man page documentation, but only if we are on a
++## UNIX-like system.
++#if (UNIX)
++#  find_program(TXT2MAN txt2man)
++#
++#  # It's not a requirement that we make man pages.
++#  if (NOT TXT2MAN)
++#    message(WARNING "txt2man not found; man pages will not be generated.")
++#  else (NOT TXT2MAN)
++#    # We have the tools.  We can make them.
++#    add_custom_target(man
++#      ${CMAKE_CURRENT_SOURCE_DIR}/CMake/allexec2man.sh
++#          ${CMAKE_CURRENT_SOURCE_DIR}/CMake/exec2man.sh
++#          ${CMAKE_BINARY_DIR}/share/man
++#      WORKING_DIRECTORY
++#          ${CMAKE_BINARY_DIR}/bin
++#      DEPENDS
++#          allkfn allknn emst gmm hmm_generate hmm_loglik hmm_train hmm_viterbi
++#          kmeans lars linear_regression mvu nbc nca pca radical
++#      COMMENT "Generating man pages from built executables."
++#    )
++#
++#    # Set the rules to install the documentation.
 +#    install(DIRECTORY ${CMAKE_BINARY_DIR}/share/man/
 +#        DESTINATION share/man/man1/)
-   endif (NOT TXT2MAN)
- endif (UNIX)
++#  endif (NOT TXT2MAN)
++#endif (UNIX)




More information about the mlpack-svn mailing list