diff --git a/companion/src/CMakeLists.txt b/companion/src/CMakeLists.txt index 0893c8318..7f0787a8c 100644 --- a/companion/src/CMakeLists.txt +++ b/companion/src/CMakeLists.txt @@ -338,7 +338,7 @@ IF(${CMAKE_SYSTEM_NAME} MATCHES "Linux") INSTALL( FILES images/linuxicons/256x256/companion.png DESTINATION /usr/share/icons/hicolor/256x256/apps RENAME companion${C9X_VERSION_SHORT}.png ) INSTALL( FILES images/linuxicons/512x512/companion.png DESTINATION /usr/share/icons/hicolor/512x512/apps RENAME companion${C9X_VERSION_SHORT}.png ) INSTALL( FILES images/linuxicons/scalable/companion.svg DESTINATION /usr/share/icons/hicolor/scalable/apps RENAME companion${C9X_VERSION_SHORT}.svg ) - INSTALL( FILES ../targets/linux/45-companion-taranis.rules DESTINATION /etc/udev/rules.d/ RENAME 45-companion${C9X_VERSION_SHORT}-taranis.rules) + INSTALL( FILES ../targets/linux/45-companion-taranis.rules DESTINATION /lib/udev/rules.d RENAME 45-companion${C9X_VERSION_SHORT}-taranis.rules) # Linux specific code SET(OperatingSystem "Linux") ELSE (${CMAKE_SYSTEM_NAME} MATCHES "Linux") @@ -429,6 +429,7 @@ ENDIF() SET(CPACK_PACKAGE_NAME "companion${C9X_VERSION_SHORT}") SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Models and settings editor for the OpenTx open source firmware") string(TOLOWER "${CPACK_PACKAGE_NAME}" CPACK_PACKAGE_NAME_LOWERCASE) +SET( CPACK_STRIP_FILES TRUE ) find_program(DPKG_PROGRAM dpkg DOC "dpkg program of Debian-based systems") if(DPKG_PROGRAM) SET(CPACK_GENERATOR "DEB")