Name debconf-doc
Description debconf documentation
Version 1.5.91
Package Base debconf
Homepage
Maintainers ['Debconf Developers <debconf-devel@lists.alioth.debian.org>']
Contributors ['Colin Watson <cjwatson@debian.org>,']
Distro-repo https://salsa.debian.org/pkg-debconf/debconf
Sources []
Dependencies []
Optional-Dependencies ['debian-policy']
Build-Dependencies ['debhelper-compat', 'dh-exec', 'dh-python', 'po-debconf', 'po4a']
Provides []
Builddate
Architecture amd64
Distro-Version trixie
Licenses []
Hash e8873ee6ead08b9a39fa45f47b9e485e40802244ef8bb0cb710202112c3886e8
#! /usr/bin/make -f

# Ensure that builds are self-hosting, which means I have to use the .pm
# files in this package, not any that may be on the system.
export PERL5LIB=.

%:
	dh $@ --with python3

override_dh_auto_install:
	$(MAKE) prefix=`pwd`/debian/debconf-utils install-utils
	$(MAKE) prefix=`pwd`/debian/debconf-i18n install-i18n
	$(MAKE) prefix=`pwd`/debian/python3-debconf install-python3
	$(MAKE) prefix=`pwd`/debian/debconf install-rest

override_dh_installdocs:
	dh_installdocs -Ndebconf-doc --link-doc=debconf
	dh_installdocs -pdebconf-doc

override_dh_installdebconf:
	# Don't modify postrm, I purge differently than normal packages
	# using me
	dh_installdebconf -n

execute_before_dh_installchangelogs:
	# Changelog reduction hack for debconf. Only include top 100 entries.
	perl -ne '$$c++ if /^debconf /; last if $$c > 100 ; print $$_' \
		< debian/changelog > debian/debconf.changelog

override_dh_compress:
	dh_compress -X demo.templates -X tutorial.templates