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: [PATCH] Fix various cmake and automake build issues --- kscreensaver/CMakeLists.txt | 1 + kscreensaver/krootbacking/CMakeLists.txt | 17 +++++++++++++++++ kscreensaver/krootbacking/Makefile.am | 2 +- wallpapers/Makefile.am | 4 ++++ 4 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 kscreensaver/krootbacking/CMakeLists.txt 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: diff --git a/wallpapers/Makefile.am b/wallpapers/Makefile.am index 02bcfa63..e5735c4c 100644 --- a/wallpapers/Makefile.am +++ b/wallpapers/Makefile.am @@ -1,9 +1,13 @@ papers_DATA = \ alien-night.jpg \ + alien-night.jpg.desktop \ kraftwurm.jpg \ + kraftwurm.jpg.desktop \ kubical.png \ + kubical.png.desktop \ mystical_rightturn.jpg \ + mystical_rightturn.jpg.desktop \ Appropriately-Left-Handed-2.jpg \ Superfluous-Organ-1.jpg \ The-Good-Times-1.jpg \