Name man-db
Description tools for reading manual pages
Version 2.12.0-4build2
Package Base
Homepage https://man-db.gitlab.io/man-db/
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors []
Distro-repo https://git.launchpad.net/ubuntu/+source/man-db/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/man-db/plain/debian/watch?h=ubuntu/noble']
Dependencies ['bsdextrautils | bsdmainutils', 'debconf', 'groff-base', 'libc6', 'libgdbm6t64', 'libpipeline1', 'libseccomp2', 'zlib1g']
Optional-Dependencies ['apparmor', 'groff', 'less', 'www-browser']
Build-Dependencies ['autopoint', 'bsdextrautils | bsdmainutils', 'debhelper-compat', 'dh-apparmor', 'flex', 'gnulib', 'groff', 'libgdbm-dev', 'libpipeline-dev', 'libseccomp-dev [amd64 arm64 armel armhf hppa i386 mips mips64el mipsel powerpc powerpcspe ppc64 ppc64el s390x x32]', 'pkgconf', 'po4a', 'systemd-dev [linux-any]', 'zlib1g-dev']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash d7ce31173a73bd3a93b7216a837a2e8641fff3fd7ae2dfc0ca705dbabe03e92b
#! /usr/bin/make -f
%:
	dh $@ --builddirectory=debian/build

include /usr/share/dpkg/architecture.mk

dtmp    = debian/man-db

export DEB_BUILD_MAINT_OPTIONS := hardening=+all
# Use DT_RUNPATH rather than DT_RPATH, so that LD_LIBRARY_PATH works properly.
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--enable-new-dtags

override_dh_autoreconf:
	dh_autoreconf ./bootstrap -- \
		--gnulib-srcdir=/usr/share/gnulib --no-git --skip-po

# --libdir is set here because debhelper defaults to using
# multiarch paths at compat level 9, which is a reasonable choice in general
# but unnecessary here.
override_dh_auto_configure:
	dh_auto_configure -- \
	            --libdir=\$${prefix}/lib \
	            --enable-setuid \
	            --with-device=latin1 --enable-mb-groff \
	            --with-config-file=/etc/manpath.config \
	            --with-browser=www-browser --with-pager=pager \
	            --with-col=col --with-vgrind=vgrind --with-grap=grap \
	            --with-compress=compress --with-bzip2=bzip2 \
		    --with-xz=xz --with-lzip=lzip --with-lzma=lzma \
		    --with-zstd=zstd \
		    --with-sections='1 n l 8 3 0 2 3type 3posix 3pm 3perl 3am 5 4 9 6 7'

override_dh_auto_test:
	VERBOSE=1 dh_auto_test

execute_after_dh_auto_install:
	rm -f $(dtmp)/usr/lib/man-db/*.la

execute_after_dh_install:
	dh_apparmor --profile-name=usr.bin.man

execute_after_dh_fixperms:
	chown man:man $(dtmp)/var/cache/man

# Our shared libraries are private.
override_dh_makeshlibs: