summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorModestas Vainius <modax@debian.org>2011-03-27 16:41:59 +0300
committerModestas Vainius <modax@debian.org>2011-03-27 19:26:48 +0300
commit99eaceeed24445a679b31a00992a96ecd5018953 (patch)
tree0c6ba3e04debef3e99f3922b92236fb6e130e980 /debian/rules
parent7567eaa7f8a1b36a4a92e4e9981a591d780b1659 (diff)
downloadkde4libs-99eaceeed24445a679b31a00992a96ecd5018953.tar.gz
Pass required kdelibs cmake flags to dh_auto_configure.
qt-kde-team/2/debian-qt-kde.mk no longer passes them implicitly.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index fbbf436..b5d3ce4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,18 @@ ifeq (ia64,$(shell dpkg-architecture -qDEB_HOST_ARCH))
export CXXFLAGS += -ffunction-sections
endif
+override_dh_auto_configure:
+ $(overriden_command) -- -DKDE4_BUILD_TESTS=false \
+ -DKDE_DISTRIBUTION_TEXT="Debian packages" \
+ -DKDE4_USE_ALWAYS_FULL_RPATH=false \
+ -DCONFIG_INSTALL_DIR=/usr/share/kde4/config \
+ -DDATA_INSTALL_DIR=/usr/share/kde4/apps \
+ -DHTML_INSTALL_DIR=/usr/share/doc/kde/HTML \
+ -DKCFG_INSTALL_DIR=/usr/share/kde4/config.kcfg \
+ -DLIB_INSTALL_DIR=/usr/lib \
+ -DSYSCONF_INSTALL_DIR=/etc \
+ -DLIBKDEINIT_INSTALL_DIR:PATH=/usr/lib/kde4/libkdeinit
+
.PHONY: override_dh_auto_test
override_dh_auto_install: