[neon/backports-jammy/libraqm-jammy/Neon/release] debian: more fine grsined dhness

Carlos De Maine null at kde.org
Fri Feb 17 21:47:14 GMT 2023


Git commit 390809797583a3435b0a19f55120c95b6c2d0e75 by Carlos De Maine.
Committed on 17/02/2023 at 21:47.
Pushed by carlosdem into branch 'Neon/release'.

more fine grsined dhness

M  +24   -5    debian/rules

https://invent.kde.org/neon/backports-jammy/libraqm-jammy/commit/390809797583a3435b0a19f55120c95b6c2d0e75

diff --git a/debian/rules b/debian/rules
index 4278702..95a733e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,14 +1,33 @@
 #!/usr/bin/make -f
 
-# export DH_VERBOSE = 1
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_CXXFLAGS_MAINT_APPEND = -Wno-error
+# Needed for glib-mkenums to work with UTF-8 input
 export LC_ALL=C.UTF-8
 
-include /usr/share/dpkg/architecture.mk
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
+export DPKG_GENSYMBOLS_CHECK_LEVEL = 4
 
 %:
-	dh $@
+	dh $@ --buildsystem=meson --without autoreconf
+
 
 override_dh_auto_configure:
 	dh_auto_configure -- -Ddocs=true
+
+override_dh_auto_clean:
+	dh_auto_clean --builddir build
+	#dh_auto_clean --builddir build-udeb
+
+override_dh_auto_build:
+	dh_auto_build --builddir build
+	#dh_auto_build --builddir build-udeb
+
+override_dh_auto_test:
+	dh_auto_test --builddir build
+	#dh_auto_test --builddir build-udeb
+
+override_dh_auto_install:
+	dh_auto_install --builddir build
+
+override_dh_makeshlibs:
+	#dh_makeshlibs --add-udeb="libharfbuzz0-udeb"


More information about the Neon-commits mailing list