[SCM] kde-sc/kde-wallpapers packaging branch, master, updated. 551d258f071fae4dd3b1d37f433f60ef618ae1c3
Pino Toscano
pino at alioth.debian.org
Tue Nov 29 16:45:44 UTC 2011
The following commit has been merged in the master branch:
commit 551d258f071fae4dd3b1d37f433f60ef618ae1c3
Author: Pino Toscano <pino at debian.org>
Date: Tue Nov 29 17:45:17 2011 +0100
use a variable for shorten the wallpaper path
---
debian/rules | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index 8ca4420..34e0e39 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,15 +2,17 @@
KDE_DEFAULT_WALLPAPER := Horos
+walldir := usr/share/wallpapers
+
include /usr/share/pkg-kde-tools/qt-kde-team/2/debian-qt-kde.mk
override_dh_auto_install:
$(overridden_command) --destdir=$(CURDIR)/debian/kde-wallpapers/
override_dh_install:
- mv $(CURDIR)/debian/kde-wallpapers/usr/share/wallpapers/$(KDE_DEFAULT_WALLPAPER)/ \
- $(CURDIR)/debian/kde-wallpapers-default/usr/share/wallpapers/
+ mv $(CURDIR)/debian/kde-wallpapers/$(walldir)/$(KDE_DEFAULT_WALLPAPER)/ \
+ $(CURDIR)/debian/kde-wallpapers-default/$(walldir)/
override_dh_link:
- $(overridden_command) -pkde-wallpapers-default usr/share/wallpapers/$(KDE_DEFAULT_WALLPAPER)/contents/images/1920x1200.png usr/share/wallpapers/kde-default.png
+ $(overridden_command) -pkde-wallpapers-default $(walldir)/$(KDE_DEFAULT_WALLPAPER)/contents/images/1920x1200.png $(walldir)/kde-default.png
$(overridden_command) --remaining-packages
--
kde-sc/kde-wallpapers packaging
More information about the pkg-kde-commits
mailing list