[neon/neon-packaging/kdsoap/Neon/release-lts] debian: dont force a build type nor prefix

Harald Sitter null at kde.org
Mon Jul 5 11:01:36 BST 2021


Git commit 449b09eb3de49c8bf29ac544c51d5f53f91a838b by Harald Sitter.
Committed on 05/07/2021 at 09:50.
Pushed by sitter into branch 'Neon/release-lts'.

dont force a build type nor prefix

debhelper is perfectly capable of handling this (this does also mess
with neon's build tooling which can switch build types as necessary)

M  +2    -5    debian/rules

https://invent.kde.org/neon/neon-packaging/kdsoap/commit/449b09eb3de49c8bf29ac544c51d5f53f91a838b

diff --git a/debian/rules b/debian/rules
index 3ddcfbd..ffdc6ce 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,7 +8,6 @@ export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
 
 DEB_HOST_MULTIARCH?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
-CONFIG=-DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr
 BUILDDIR=cmake-bin
 INSTALLDIR=debian/tmp
 
@@ -17,10 +16,8 @@ override_dh_auto_clean:
 	rm -f doxygen.log kdsoap.log kdsoap.tag
 
 override_dh_auto_configure:
-	dh_auto_configure --parallel -B$(BUILDDIR)-static -- \
-		$(CONFIG) -DKDSoap_STATIC=ON
-	dh_auto_configure --parallel -B$(BUILDDIR)-shared -- \
-		$(CONFIG) #-DKDSoap_TESTS=ON
+	dh_auto_configure --parallel -B$(BUILDDIR)-static -- -DKDSoap_STATIC=ON
+	dh_auto_configure --parallel -B$(BUILDDIR)-shared -- #-DKDSoap_TESTS=ON
 
 override_dh_auto_build:
 	doxygen Doxyfile



More information about the Neon-commits mailing list