Use standard location for udev rules

/etc should be used for host-specific configuration only
This commit is contained in:
Anatol Pomozov 2016-08-12 09:23:44 -07:00 committed by GitHub
parent 7665adeb9c
commit a301015719

View File

@ -397,7 +397,7 @@ install(TARGETS ${PROJECT_NAME} DESTINATION bin/)
install(DIRECTORY res DESTINATION share/${PROJECT_NAME}) install(DIRECTORY res DESTINATION share/${PROJECT_NAME})
install(DIRECTORY ../libsigrokdecode4DSL/decoders DESTINATION share/${PROJECT_NAME}) install(DIRECTORY ../libsigrokdecode4DSL/decoders DESTINATION share/${PROJECT_NAME})
install(FILES icons/logo.png DESTINATION share/${PROJECT_NAME} RENAME logo.png) install(FILES icons/logo.png DESTINATION share/${PROJECT_NAME} RENAME logo.png)
install(FILES DreamSourceLab.rules DESTINATION /etc/udev/rules.d/) install(FILES DreamSourceLab.rules DESTINATION /usr/lib/udev/rules.d/)
install(FILES DSView.desktop DESTINATION /usr/share/applications/) install(FILES DSView.desktop DESTINATION /usr/share/applications/)
#=============================================================================== #===============================================================================