summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-11-01 18:46:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-11-01 18:46:07 +0900
commita811f9c0bc72c486b66fea1828cc832e81208ed8 (patch)
tree46543caa404b175ffec24a7d6b08b3e7dbacb4e6 /debian/rules
parente8933e99b4600d91e9eab7d1ad3a2d35813028a9 (diff)
downloadpolkit-tqt-a811f9c0bc72c486b66fea1828cc832e81208ed8.tar.gz
polkit-tqt-a811f9c0bc72c486b66fea1828cc832e81208ed8.zip
DEB: updated packaging files to TDE standard.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules22
1 files changed, 11 insertions, 11 deletions
diff --git a/debian/rules b/debian/rules
index d61c9b6af..bf14bf133 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,13 +1,13 @@
#!/usr/bin/make -f
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-dh = --list-missing
-
-include /usr/share/pkg-kde-tools/qt-kde-team/2/debian-qt-kde.mk
-
-export CFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
-export CXXFLAGS += -fvisibility=hidden -fvisibility-inlines-hidden
-
-.PHONY: override_dh_auto_test
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+# Build options
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DWITH_ALL_OPTIONS="ON"