[neon/qt6/qt6-tools/Neon/release] debian: simplify the logic
Carlos De Maine
null at kde.org
Mon Oct 28 01:01:59 GMT 2024
Git commit be4b7baa8bc922714770f67d7027430d47074666 by Carlos De Maine.
Committed on 28/10/2024 at 01:01.
Pushed by carlosdem into branch 'Neon/release'.
simplify the logic
M +7 -7 debian/rules
https://invent.kde.org/neon/qt6/qt6-tools/-/commit/be4b7baa8bc922714770f67d7027430d47074666
diff --git a/debian/rules b/debian/rules
index 92a616c..c8cbb39 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,13 @@ override_dh_auto_configure:
override_dh_shlibdeps:
dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
-ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+ifeq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+override_dh_auto_build-indep:
+ dh_auto_build
+
+override_dh_auto_install-indep:
+ DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install
+else
override_dh_auto_build-indep:
dh_auto_build -- docs
@@ -32,12 +38,6 @@ override_dh_auto_install-indep:
# Remove build path from index files.
find $(CURDIR)/debian/tmp/usr/share/qt6/doc -type f -name *.index -exec \
sed -i 's@$(CURDIR)/@@g' {} \;
-else
-override_dh_auto_build-indep:
- dh_auto_build
-
-override_dh_auto_install-indep:
- DESTDIR=$(CURDIR)/debian/tmp dh_auto_build -- install
endif
execute_after_dh_auto_install-arch:
More information about the Neon-commits
mailing list