Revision: 12666
http://sourceforge.net/p/plplot/code/12666
Author: airwin
Date: 2013-11-06 02:05:21 +0000 (Wed, 06 Nov 2013)
Log Message:
-----------
Fix location of installed man pages.
Modified Paths:
--------------
trunk/cmake/build_projects/iwidgets4.0/bp.cmake
Modified: trunk/cmake/build_projects/iwidgets4.0/bp.cmake
===================================================================
--- trunk/cmake/build_projects/iwidgets4.0/bp.cmake 2013-11-06 00:39:14 UTC (rev 12665)
+++ trunk/cmake/build_projects/iwidgets4.0/bp.cmake 2013-11-06 02:05:21 UTC (rev 12666)
@@ -89,8 +89,9 @@
# itcl header.
CONFIGURE_COMMAND ${ENV_EXECUTABLE} PATH=${BP_PATH} ${${BP_PACKAGE}_SET_CFLAGS} "CPPFLAGS=-I${INCRTCL3_PREFIX}/include/itcl${ITCL3_LIBVERSION} -I${BP_CMAKE_INSTALL_PREFIX}/include" ${source_PATH}/configure --prefix=${INCRTCL3_PREFIX} --exec-prefix=${INCRTCL3_PREFIX} --includedir=${INCRTCL3_PREFIX}/include/itcl${ITCL3_LIBVERSION} --mandir=${INCRTCL3_PREFIX}/share/man --with-tcl=${BP_CMAKE_INSTALL_PREFIX}/lib --with-tk=${BP_CMAKE_INSTALL_PREFIX}/lib
# Possible make race conditions so use non-parallel make
- BUILD_COMMAND ${ENV_EXECUTABLE} PATH=${BP_PATH} ${BP_MAKE_COMMAND}
- INSTALL_COMMAND ${ENV_EXECUTABLE} PATH=${BP_PATH} ${BP_MAKE_COMMAND} install
+ # Also, above --mandir option is ignored, so must specify MAN_INSTALL_DIR
+ BUILD_COMMAND ${ENV_EXECUTABLE} PATH=${BP_PATH} ${BP_MAKE_COMMAND} MAN_INSTALL_DIR=${INCRTCL3_PREFIX}/share/man/mann
+ INSTALL_COMMAND ${ENV_EXECUTABLE} PATH=${BP_PATH} ${BP_MAKE_COMMAND} MAN_INSTALL_DIR=${INCRTCL3_PREFIX}/share/man/mann install
)
add_custom_command(
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|