summaryrefslogtreecommitdiffstats
path: root/kscreensaver
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2012-11-17 02:09:12 +0100
committerSlávek Banko <slavek.banko@axis.cz>2012-11-17 02:46:43 +0100
commit54c21d3841b359b541eab4f2f76ffd94072280f4 (patch)
tree9e27a6510fd4be1b3929fb76677ecbc9afd69d50 /kscreensaver
parent00a3830a317e2dba5f0369eb55fd6163c25e498d (diff)
downloadtdeartwork-54c21d3841b359b541eab4f2f76ffd94072280f4.tar.gz
tdeartwork-54c21d3841b359b541eab4f2f76ffd94072280f4.zip
Fix various cmake and automake build issues
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: