Name debconf-doc
Description debconf documentation
Version 1.5.86ubuntu1
Package Base debconf
Homepage
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Colin Watson <cjwatson@debian.org>,']
Distro-repo https://git.launchpad.net/ubuntu/+source/debconf/tree/?h=ubuntu/noble
Sources []
Dependencies []
Optional-Dependencies ['debian-policy']
Build-Dependencies ['debhelper-compat', 'dh-exec', 'dh-python', 'po-debconf', 'po4a']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 8d329329e91d7a5d87510ae960768d40527c1da658da8d68826926aa8fe55f55
#! /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