summaryrefslogtreecommitdiffstats
path: root/kscreensaver
diff options
context:
space:
mode:
Diffstat (limited to 'kscreensaver')
-rw-r--r--kscreensaver/CMakeLists.txt1
-rw-r--r--kscreensaver/krootbacking/CMakeLists.txt17
-rw-r--r--kscreensaver/krootbacking/Makefile.am2
3 files changed, 19 insertions, 1 deletions
diff --git a/kscreensaver/CMakeLists.txt b/kscreensaver/CMakeLists.txt
index 0c453adb..31538e9c 100644
--- a/kscreensaver/CMakeLists.txt
+++ b/kscreensaver/CMakeLists.txt
@@ -11,6 +11,7 @@
add_subdirectory( kdesavers )
add_subdirectory( kpartsaver)
+add_subdirectory( krootbacking )
if( WITH_XSCREENSAVER )
add_subdirectory( kxsconfig )
add_subdirectory( xsavers )
diff --git a/kscreensaver/krootbacking/CMakeLists.txt b/kscreensaver/krootbacking/CMakeLists.txt
new file mode 100644
index 00000000..bedfa71e
--- /dev/null
+++ b/kscreensaver/krootbacking/CMakeLists.txt
@@ -0,0 +1,17 @@
+#################################################
+#
+# (C) 2012 Slavek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install(
+ FILES
+ xscreensaver-getimage
+ xscreensaver-getimage-file
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kscreensaver/krootbacking/Makefile.am b/kscreensaver/krootbacking/Makefile.am
index 9bfe161f..4f4d3e3d 100644
--- a/kscreensaver/krootbacking/Makefile.am
+++ b/kscreensaver/krootbacking/Makefile.am
@@ -1,6 +1,6 @@
INCLUDES = $(all_includes)
-hackdir = /usr/local/bin/
+hackdir = $(kde_bindir)
hack_DATA = xscreensaver-getimage xscreensaver-getimage-file
install-data-hook: