2016-08-06 11:45:23 +03:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2016-10-22 22:02:14 +03:00
|
|
|
@@ -251,23 +251,23 @@
|
|
|
|
# ${CMAKE_SOURCE_DIR}/data/icons/48x48
|
|
|
|
# ${CMAKE_SOURCE_DIR}/data/icons/128x128
|
|
|
|
${CMAKE_SOURCE_DIR}/data/icons/
|
|
|
|
- DESTINATION usr/share/icons/
|
|
|
|
+ DESTINATION share/icons/
|
|
|
|
)
|
|
|
|
|
2016-08-06 11:45:23 +03:00
|
|
|
install(FILES
|
2016-10-22 22:02:14 +03:00
|
|
|
${CMAKE_SOURCE_DIR}/data/nitrokey-app.desktop
|
|
|
|
- DESTINATION usr/share/applications
|
|
|
|
+ DESTINATION share/applications
|
2016-08-06 11:45:23 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
install(FILES
|
2016-10-22 22:02:14 +03:00
|
|
|
${CMAKE_SOURCE_DIR}/data/icons/hicolor/128x128/apps/nitrokey-app.png
|
|
|
|
- DESTINATION usr/share/pixmaps
|
|
|
|
+ DESTINATION share/pixmaps
|
|
|
|
)
|
|
|
|
|
|
|
|
# Install Nitrokey udev rules
|
|
|
|
install(FILES
|
|
|
|
${CMAKE_SOURCE_DIR}/data/40-nitrokey.rules
|
|
|
|
- DESTINATION usr/lib/udev/rules.d
|
|
|
|
+ DESTINATION lib/udev/rules.d
|
2016-08-06 11:45:23 +03:00
|
|
|
)
|
|
|
|
|
2016-10-22 22:02:14 +03:00
|
|
|
# Install autocompletion scripts
|
|
|
|
@@ -278,7 +278,7 @@
|
|
|
|
|
2016-08-06 11:45:23 +03:00
|
|
|
install(FILES
|
2016-10-22 22:02:14 +03:00
|
|
|
${CMAKE_SOURCE_DIR}/po/de_DE/nitrokey-app.mo
|
|
|
|
- DESTINATION usr/share/locale/de_DE/LC_MESSAGES
|
|
|
|
+ DESTINATION share/locale/de_DE/LC_MESSAGES
|
2016-08-06 11:45:23 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
install(FILES
|
2016-10-22 22:02:14 +03:00
|
|
|
@@ -286,7 +286,7 @@
|
2016-08-06 11:45:23 +03:00
|
|
|
${CMAKE_SOURCE_DIR}/images/quit.png
|
|
|
|
${CMAKE_SOURCE_DIR}/images/safe_zahlenkreis.png
|
|
|
|
${CMAKE_SOURCE_DIR}/images/settings.png
|
2016-10-22 22:02:14 +03:00
|
|
|
- DESTINATION usr/share/nitrokey
|
2016-08-06 11:45:23 +03:00
|
|
|
+ DESTINATION share/nitrokey
|
|
|
|
)
|
|
|
|
|
|
|
|
ENDIF () # NOT WIN32
|
2016-10-22 22:02:14 +03:00
|
|
|
@@ -299,7 +299,7 @@
|
|
|
|
${resources_ouput}
|
|
|
|
)
|
|
|
|
|
|
|
|
-INSTALL(TARGETS nitrokey-app DESTINATION usr/bin)
|
|
|
|
+INSTALL(TARGETS nitrokey-app DESTINATION bin)
|
|
|
|
|
|
|
|
TARGET_LINK_LIBRARIES(nitrokey-app
|
|
|
|
${QT_LIBRARIES}
|