Lines 68-78
Link Here
|
68 |
#_cmake_modify_IGNORE set(CMAKE_INSTALL_PREFIX "/") |
68 |
#_cmake_modify_IGNORE set(CMAKE_INSTALL_PREFIX "/") |
69 |
set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) |
69 |
set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX}) |
70 |
|
70 |
|
71 |
install(FILES ${PROJECT_SOURCE_DIR}/installation/touchegg.conf DESTINATION usr/share/touchegg) |
71 |
#install(FILES ${PROJECT_SOURCE_DIR}/installation/touchegg.conf DESTINATION usr/share/touchegg) |
72 |
install(FILES ${PROJECT_SOURCE_DIR}/installation/touchegg.service DESTINATION lib/systemd/system) |
72 |
#install(FILES ${PROJECT_SOURCE_DIR}/installation/touchegg.service DESTINATION lib/systemd/system) |
73 |
install(FILES ${PROJECT_SOURCE_DIR}/installation/touchegg.desktop DESTINATION etc/xdg/autostart) |
73 |
#install(FILES ${PROJECT_SOURCE_DIR}/installation/touchegg.desktop DESTINATION etc/xdg/autostart) |
74 |
install(PROGRAMS ${CMAKE_BINARY_DIR}/touchegg DESTINATION usr/bin) |
74 |
#install(PROGRAMS ${CMAKE_BINARY_DIR}/touchegg DESTINATION usr/bin) |
75 |
|
75 |
|
|
|
76 |
include(GNUInstallDirs) |
77 |
install(FILES ${PROJECT_SOURCE_DIR}/installation/touchegg.conf DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/touchegg) |
78 |
install(PROGRAMS ${CMAKE_BINARY_DIR}/touchegg DESTINATION ${CMAKE_INSTALL_BINDIR}) |
79 |
|
76 |
# DEB package |
80 |
# DEB package |
77 |
# Run: $ cpack -G DEB |
81 |
# Run: $ cpack -G DEB |
78 |
set(CPACK_DEBIAN_PACKAGE_SECTION "misc") |
82 |
set(CPACK_DEBIAN_PACKAGE_SECTION "misc") |