Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation improvements #174

Merged
merged 4 commits into from
Apr 4, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ configure_file(

install(
FILES ${PROJECT_BINARY_DIR}/chewing-editor.desktop
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/application
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/applications
)

include_directories(
Expand Down Expand Up @@ -219,6 +219,7 @@ install(PROGRAMS ${CMAKE_BINARY_DIR}/chewing-editor DESTINATION ${CMAKE_INSTALL_

# icon
install(FILES ${CMAKE_SOURCE_DIR}/share/icons/chewing-editor.svg DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/scalable/apps)
install(FILES ${CMAKE_SOURCE_DIR}/rc/chewing-editor.png DESTINATION ${CMAKE_INSTALL_DATADIR}/icons/hicolor/256/apps)

# manpage
find_program(HELP2MAN help2man)
Expand Down
5 changes: 5 additions & 0 deletions chewing-editor.desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ Name=Chewing Editor
Comment=Chewing Userphrase Editor
Exec=chewing-editor
Icon=chewing-editor
Categories=Utility;TextTools;Qt;

# Translation
Name[zh_TW]=Chewing Editor
Comment[zh_TW]=新酷音詞庫編輯器