From 54c21d3841b359b541eab4f2f76ffd94072280f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 17 Nov 2012 02:09:12 +0100 Subject: Fix various cmake and automake build issues --- kscreensaver/CMakeLists.txt | 1 + kscreensaver/krootbacking/CMakeLists.txt | 17 +++++++++++++++++ kscreensaver/krootbacking/Makefile.am | 2 +- 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 kscreensaver/krootbacking/CMakeLists.txt (limited to 'kscreensaver') 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: -- cgit v1.2.1