All: Fix some paths for *nix files

This commit is contained in:
Vicki Pfau 2017-04-08 14:41:21 -07:00
parent 2ab3fafeec
commit e96f1d909a
4 changed files with 30 additions and 30 deletions

View File

@ -730,15 +730,15 @@ if(NOT SKIP_LIBRARY)
target_link_libraries(${BINARY_NAME} ${DEBUGGER_LIB} ${DEPENDENCY_LIB} ${OS_LIB}) target_link_libraries(${BINARY_NAME} ${DEBUGGER_LIB} ${DEPENDENCY_LIB} ${OS_LIB})
install(TARGETS ${BINARY_NAME} LIBRARY DESTINATION ${LIBDIR} COMPONENT lib${BINARY_NAME} NAMELINK_SKIP ARCHIVE DESTINATION ${LIBDIR} RUNTIME DESTINATION ${LIBDIR} COMPONENT lib${BINARY_NAME}) install(TARGETS ${BINARY_NAME} LIBRARY DESTINATION ${LIBDIR} COMPONENT lib${BINARY_NAME} NAMELINK_SKIP ARCHIVE DESTINATION ${LIBDIR} RUNTIME DESTINATION ${LIBDIR} COMPONENT lib${BINARY_NAME})
if(UNIX AND NOT APPLE) if(UNIX AND NOT APPLE)
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/mgba-16.png DESTINATION share/icons/hicolor/16x16/apps RENAME mgba.png COMPONENT lib${BINARY_NAME}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/${BINARY_NAME}-16.png DESTINATION share/icons/hicolor/16x16/apps RENAME ${BINARY_NAME}.png COMPONENT lib${BINARY_NAME})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/mgba-24.png DESTINATION share/icons/hicolor/24x24/apps RENAME mgba.png COMPONENT lib${BINARY_NAME}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/${BINARY_NAME}-24.png DESTINATION share/icons/hicolor/24x24/apps RENAME ${BINARY_NAME}.png COMPONENT lib${BINARY_NAME})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/mgba-32.png DESTINATION share/icons/hicolor/32x32/apps RENAME mgba.png COMPONENT lib${BINARY_NAME}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/${BINARY_NAME}-32.png DESTINATION share/icons/hicolor/32x32/apps RENAME ${BINARY_NAME}.png COMPONENT lib${BINARY_NAME})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/mgba-48.png DESTINATION share/icons/hicolor/48x48/apps RENAME mgba.png COMPONENT lib${BINARY_NAME}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/${BINARY_NAME}-48.png DESTINATION share/icons/hicolor/48x48/apps RENAME ${BINARY_NAME}.png COMPONENT lib${BINARY_NAME})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/mgba-64.png DESTINATION share/icons/hicolor/64x64/apps RENAME mgba.png COMPONENT lib${BINARY_NAME}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/${BINARY_NAME}-64.png DESTINATION share/icons/hicolor/64x64/apps RENAME ${BINARY_NAME}.png COMPONENT lib${BINARY_NAME})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/mgba-96.png DESTINATION share/icons/hicolor/96x96/apps RENAME mgba.png COMPONENT lib${BINARY_NAME}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/${BINARY_NAME}-96.png DESTINATION share/icons/hicolor/96x96/apps RENAME ${BINARY_NAME}.png COMPONENT lib${BINARY_NAME})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/mgba-128.png DESTINATION share/icons/hicolor/128x128/apps RENAME mgba.png COMPONENT lib${BINARY_NAME}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/${BINARY_NAME}-128.png DESTINATION share/icons/hicolor/128x128/apps RENAME ${BINARY_NAME}.png COMPONENT lib${BINARY_NAME})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/mgba-256.png DESTINATION share/icons/hicolor/256x256/apps RENAME mgba.png COMPONENT lib${BINARY_NAME}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/${BINARY_NAME}-256.png DESTINATION share/icons/hicolor/256x256/apps RENAME ${BINARY_NAME}.png COMPONENT lib${BINARY_NAME})
install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/mgba-512.png DESTINATION share/icons/hicolor/512x512/apps RENAME mgba.png COMPONENT lib${BINARY_NAME}) install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/res/${BINARY_NAME}-512.png DESTINATION share/icons/hicolor/512x512/apps RENAME ${BINARY_NAME}.png COMPONENT lib${BINARY_NAME})
endif() endif()
else() else()
set(BUILD_SHARED OFF) set(BUILD_SHARED OFF)

View File

@ -3,14 +3,14 @@
.\" This Source Code Form is subject to the terms of the Mozilla Public .\" This Source Code Form is subject to the terms of the Mozilla Public
.\" License, v. 2.0. If a copy of the MPL was not distributed with this .\" License, v. 2.0. If a copy of the MPL was not distributed with this
.\" file, you can obtain one at https://mozilla.org/MPL/2.0/. .\" file, you can obtain one at https://mozilla.org/MPL/2.0/.
.Dd July 29, 2015 .Dd April 8, 2017
.Dt MGBA-QT 6 .Dt MEDUSA-QT 6
.Os .Os
.Sh NAME .Sh NAME
.Nm mgba-qt .Nm medusa-qt
.Nd Game Boy Advance emulator .Nd DS emulator
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm mgba-qt .Nm medusa-qt
.Op Fl 123456fg .Op Fl 123456fg
.Op Fl b Ar biosfile .Op Fl b Ar biosfile
.Op Fl l Ar loglevel .Op Fl l Ar loglevel
@ -19,7 +19,7 @@
.Ar file .Ar file
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
is a Game Boy Advance emulator. is a DS emulator.
The options are as follows: The options are as follows:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl 1 .It Fl 1
@ -115,13 +115,13 @@ is used.
.El .El
.Sh FILES .Sh FILES
.Bl -tag -width Ds -compact .Bl -tag -width Ds -compact
.It Pa $XDG_CONFIG_HOME/mgba/config.ini .It Pa $XDG_CONFIG_HOME/medusa/config.ini
Default Default
.Xr mgba 6 .Xr medusa 6
configuration file. configuration file.
.It Pa $XDG_CONFIG_HOME/mgba/qt.ini .It Pa $XDG_CONFIG_HOME/medusa/qt.ini
Default Default
.Nm mgba-qt .Nm medusa-qt
configuration file. configuration file.
.It Pa portable.ini .It Pa portable.ini
If this file exists in the current directory, If this file exists in the current directory,
@ -131,7 +131,7 @@ will read
and and
.Pa qt.ini .Pa qt.ini
from the current directory instead of from the current directory instead of
.Pa $XDG_CONFIG_HOME/mgba . .Pa $XDG_CONFIG_HOME/medusa .
.El .El
.Sh AUTHORS .Sh AUTHORS
.An Jeffrey Pfau Aq Mt jeffrey@endrift.com .An Jeffrey Pfau Aq Mt jeffrey@endrift.com

View File

@ -3,14 +3,14 @@
.\" This Source Code Form is subject to the terms of the Mozilla Public .\" This Source Code Form is subject to the terms of the Mozilla Public
.\" License, v. 2.0. If a copy of the MPL was not distributed with this .\" License, v. 2.0. If a copy of the MPL was not distributed with this
.\" file, you can obtain one at https://mozilla.org/MPL/2.0/. .\" file, you can obtain one at https://mozilla.org/MPL/2.0/.
.Dd July 29, 2015 .Dd April 8, 2017
.Dt MGBA 6 .Dt MEDUSA 6
.Os .Os
.Sh NAME .Sh NAME
.Nm mgba .Nm medusa
.Nd Game Boy Advance emulator .Nd DS emulator
.Sh SYNOPSIS .Sh SYNOPSIS
.Nm mgba .Nm medusa
.Op Fl 123456dfg .Op Fl 123456dfg
.Op Fl b Ar biosfile .Op Fl b Ar biosfile
.Op Fl c Ar cheatfile .Op Fl c Ar cheatfile
@ -21,7 +21,7 @@
.Ar file .Ar file
.Sh DESCRIPTION .Sh DESCRIPTION
.Nm .Nm
is a Game Boy Advance emulator. is a DS emulator.
The options are as follows: The options are as follows:
.Bl -tag -width Ds .Bl -tag -width Ds
.It Fl 1 .It Fl 1
@ -242,9 +242,9 @@ is used.
.El .El
.Sh FILES .Sh FILES
.Bl -tag -width Ds -compact .Bl -tag -width Ds -compact
.It Pa $XDG_CONFIG_HOME/mgba/config.ini .It Pa $XDG_CONFIG_HOME/medusa/config.ini
Default Default
.Xr mgba 6 .Xr medusa 6
configuration file. configuration file.
.It Pa portable.ini .It Pa portable.ini
If this file exists in the current directory, If this file exists in the current directory,
@ -252,7 +252,7 @@ If this file exists in the current directory,
will read will read
.Pa config.ini .Pa config.ini
from the current directory instead of from the current directory instead of
.Pa $XDG_CONFIG_HOME/mgba . .Pa $XDG_CONFIG_HOME/medusa .
.El .El
.Sh AUTHORS .Sh AUTHORS
.An Jeffrey Pfau Aq Mt jeffrey@endrift.com .An Jeffrey Pfau Aq Mt jeffrey@endrift.com

View File

@ -252,7 +252,7 @@ install(TARGETS ${BINARY_NAME}-qt
if(UNIX AND NOT APPLE) if(UNIX AND NOT APPLE)
find_program(DESKTOP_FILE_INSTALL desktop-file-install) find_program(DESKTOP_FILE_INSTALL desktop-file-install)
if(DESKTOP_FILE_INSTALL) if(DESKTOP_FILE_INSTALL)
install(CODE "execute_process(COMMAND ${DESKTOP_FILE_INSTALL} \"${CMAKE_SOURCE_DIR}/res/mgba-qt.desktop\" --dir \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/applications/\")") install(CODE "execute_process(COMMAND ${DESKTOP_FILE_INSTALL} \"${CMAKE_SOURCE_DIR}/res/${BINARY_NAME}-qt.desktop\" --dir \"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/applications/\")")
endif() endif()
endif() endif()
if(UNIX) if(UNIX)