Name debhelper
Description helper programs for debian/rules
Version 13.24.2
Package Base
Homepage
Maintainers ['Debhelper Maintainers <debhelper@packages.debian.org>']
Contributors ['Niels Thykier <niels@thykier.net>,']
Distro-repo https://salsa.debian.org/debian/debhelper
Sources []
Dependencies ['autotools-dev', 'dh-autoreconf', 'dh-strip-nondeterminism', 'dpkg', 'dpkg-dev', 'dwz', 'file', 'libdebhelper-perl', 'libdpkg-perl', 'man-db', 'perl', 'po-debconf']
Optional-Dependencies ['dh-make']
Build-Dependencies ['dpkg-dev', 'libtest-pod-perl <pkg.debhelper.ci>', 'man-db <pkg.debhelper.ci>', 'perl', 'po4a <!pkg.debhelper.nonls>']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash 04ba78ad4363df4f47cac2667dcca7a4bfe520625af5799ec1ede3cb6551f6fc
#!/usr/bin/make -f
# If you're looking for an example debian/rules that uses debhelper, see
# the examples directory.
#
# Each debhelper command in this rules file has to be run using ./run,
# to ensure that the commands and libraries in the source tree are used,
# rather than the installed ones.
#
# We disable autoreconf to avoid build-depending on it (it does
# nothing for debhelper and it keeps the set of B-D smaller)

ifneq (,$(filter pkg.debhelper.nonls,$(DEB_BUILD_PROFILES)))
export USE_NLS=no
endif

PERL ?= perl

%:
	./run dh $@ --without autoreconf --with build-stamp

# Disable as they are unneeded (and we can then be sure debhelper
# builds without needing autotools-dev, dh-strip-nondeterminism etc.)
override_dh_update_autotools_config override_dh_strip_nondeterminism:

execute_before_dh_install:
	PERLLIBDIR=$$($(PERL) -MConfig -e 'print $$Config{vendorlib}')/ ; \
	    $(PERL) -I"debian/tmp/$${PERLLIBDIR}" debian/gen-provides > debian/debhelper.substvars