[neon/qt6/qt6-tools/Neon/release] debian: need to export DEB_BUILD_OPTIONS=nodoc as well
Carlos De Maine
null at kde.org
Wed Dec 13 03:04:16 GMT 2023
Git commit fb0064c1b6273b305874f4eb9689096e2bf65d66 by Carlos De Maine.
Committed on 13/12/2023 at 04:03.
Pushed by carlosdem into branch 'Neon/release'.
need to export DEB_BUILD_OPTIONS=nodoc as well
M +4 -3 debian/rules
https://invent.kde.org/neon/qt6/qt6-tools/-/commit/fb0064c1b6273b305874f4eb9689096e2bf65d66
diff --git a/debian/rules b/debian/rules
index c0bde2f..ee50f72 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
#!/usr/bin/make -f
include /usr/share/dpkg/architecture.mk
-echo -e "\nexporting nodoc build profile.\n"
+
+export DEB_BUILD_OPTIONS=nodoc, nocheck
export DEB_BUILD_PROFILES=nodoc
export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
@@ -26,7 +27,7 @@ override_dh_shlibdeps:
override_dh_auto_build-indep:
# support the nodoc build profile
-ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
echo -e "\nnodoc build profile enabled, therefore not building docs.\n"
dh_auto_build
else
@@ -36,7 +37,7 @@ endif
override_dh_auto_install-indep:
# support the nodoc build profile
-ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
echo -e "\nnodoc build profile enabled, therefore not installing docs.\n"
DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install
else
More information about the Neon-commits
mailing list