ctucx.git: nixfiles

ctucx' nixfiles

1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
--- a/CMakeLists.txt	2022-03-31 21:13:41.000000000 +0200
+++ b/CMakeLists.txt	2022-06-27 20:21:37.477248465 +0200
@@ -152,28 +152,5 @@
 install(TARGETS ${PROJECT_NAME}
     RUNTIME DESTINATION bin
 )
-install(FILES systemd/airsaned.service
-    DESTINATION /lib/systemd/system
-)
-install(FILES systemd/airsaned.default
-    DESTINATION /etc/default
-    RENAME airsane
-)
-
-install(CODE "
-    if(NOT EXISTS /etc/airsane/ignore.conf)
-        file(INSTALL ${CMAKE_SOURCE_DIR}/etc/ignore.conf DESTINATION /etc/airsane)
-    endif()
-")
-install(CODE "
-    if(NOT EXISTS /etc/airsane/options.conf)
-        file(INSTALL ${CMAKE_SOURCE_DIR}/etc/options.conf DESTINATION /etc/airsane)
-    endif()
-")
-install(CODE "
-    if(NOT EXISTS /etc/airsane/Gnome-scanner.png)
-        file(INSTALL ${CMAKE_SOURCE_DIR}/etc/Gnome-scanner.png DESTINATION /etc/airsane)
-    endif()
-")
 
 endif()