Moved xdg scripts into plat/unix/

This commit is contained in:
Yevgen Muntyan 2010-01-21 23:08:10 -08:00
parent 51474c6606
commit 5364d2c846
6 changed files with 8 additions and 5 deletions

View File

@ -48,5 +48,12 @@ IF(WIN32)
STRING(REPLACE "/" "\\" _MOO_SOURCE_DIR "${_MOO_SOURCE_DIR}")
GET_FILENAME_COMPONENT(_MOO_BINARY_DIR ${MOO_BINARY_DIR} ABSOLUTE)
STRING(REPLACE "/" "\\" _MOO_BINARY_DIR "${_MOO_BINARY_DIR}")
SET(_MOO_RUN_HOW "@")
CONFIGURE_FILE(plat/win32/run-medit.in run-medit.bat)
SET(_MOO_RUN_HOW "gdb --args ")
CONFIGURE_FILE(plat/win32/run-medit.in run-medit-in-gdb.bat)
ENDIF(WIN32)
IF(NOT WIN32)
INSTALL(PROGRAMS plat/unix/xdg-open plat/unix/xdg-email plat/unix/moo-open-html-help DESTINATION ${MOO_DATA_DIR}/scripts)
ENDIF(NOT WIN32)

View File

@ -96,7 +96,3 @@ IF(MOO_BUILD_SHARED_LIB)
ELSE(MOO_BUILD_SHARED_LIB)
ADD_LIBRARY(moo STATIC ${moo_all_sources})
ENDIF(MOO_BUILD_SHARED_LIB)
IF(NOT WIN32)
INSTALL(PROGRAMS xdg-utils/xdg-open xdg-utils/xdg-email moo-open-html-help DESTINATION ${MOO_DATA_DIR}/scripts)
ENDIF(NOT WIN32)

View File

0
moo/xdg-utils/xdg-email → plat/unix/xdg-email Executable file → Normal file
View File

0
moo/xdg-utils/xdg-open → plat/unix/xdg-open Executable file → Normal file
View File

View File

@ -1,3 +1,3 @@
@pushd ${_MOO_BINARY_DIR}\moo
@${_MOO_BINARY_DIR}\medit\medit.exe -n --log-window %1 %2 %3 %4 %5 %6 %7 %8 %9
${_MOO_RUN_HOW}${_MOO_BINARY_DIR}\medit\medit.exe -n --log-window %1 %2 %3 %4 %5 %6 %7 %8 %9
@popd