From 65a5b13c63e378b0b5f0d8157c5ca78f6c66bda1 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Sun, 31 Dec 2023 15:46:49 +0000 Subject: [PATCH] d/rules: Fix autoreconf during nodoc builds by providing a stub gtkdocize --- debian/rules | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index c9672042..6095fef4 100755 --- a/debian/rules +++ b/debian/rules @@ -8,7 +8,11 @@ binaries := $(shell dh_listpackages) dh $@ --with=gir override_dh_autoreconf: - env NOCONFIGURE=1 dh_autoreconf ./autogen.sh + mkdir -p debian/tmp-path +ifneq (,$(filter nodoc,$(DEB_BUILD_PROFILES))) + ln -fns /bin/true debian/tmp-path/gtkdocize +endif + env NOCONFIGURE=1 PATH=$(CURDIR)/debian/tmp-path:$(PATH) dh_autoreconf ./autogen.sh configure_options = \ --enable-installed-tests \ -- 2.30.2