diff options
author | Slávek Banko <[email protected]> | 2020-03-21 14:24:49 +0100 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-03-23 19:57:36 +0100 |
commit | a1a48db571e6fa1c3ae94a22546548b87e497dd2 (patch) | |
tree | c281a92c03893eec65f5aeddb4abdd66d20a4581 /src/CMakeLists.txt | |
parent | 47cb6069a5b60ae724903e31a5b5e19f797507b3 (diff) | |
download | abakus-a1a48db571e6fa1c3ae94a22546548b87e497dd2.tar.gz abakus-a1a48db571e6fa1c3ae94a22546548b87e497dd2.zip |
Desktop file translations:
+ Creation of POT templates for desktop files added to CMakeL10n rules.
+ Added creation of translated desktop file during build.
+ The abakus.desktop will be installed to the XDG_APPS_INSTALL_DIR.
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a7365d2..be6ddd2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -23,11 +23,14 @@ link_directories( include( ${CMAKE_SOURCE_DIR}/BisonMacros.cmake ) + ##### other data ################################ -install( FILES abakus.desktop DESTINATION ${APPS_INSTALL_DIR}/Utilities ) +tde_create_translated_desktop( abakus.desktop ) + install( FILES abakusui.rc DESTINATION ${DATA_INSTALL_DIR}/abakus ) + ##### abakus (executable) ####################### GENERATE_BISON_FLEX_SOURCES(${CMAKE_SOURCE_DIR}/src/parser.yy "" ${CMAKE_SOURCE_DIR}/src/lexer.ll "") |