Name manpages-dev
Description Manual pages about using GNU/Linux for development
Version 6.7-2
Package Base manpages
Homepage https://www.kernel.org/doc/man-pages/
Maintainers ['Dr. Tobias Quathamer <toddy@debian.org>', 'Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors ['Marcos Fouces <marcos@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/manpages/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/manpages-dev/plain/debian/watch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0001-fclose.3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0002-getpwent.3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0003-getpwnam.3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0004-nl_langinfo.3.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0005-console_codes.4.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0006-dir_colors.5.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0007-motd.5.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0008-nsswitch.conf.5.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0009-resolv.conf.5.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0010-tzfile.5.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0013-rtnetlink.7.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0014-set-proper-installation-path.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/0015-fix-groff-warning.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/manpages/plain/debian/patches/series?h=ubuntu/noble']
Dependencies ['manpages']
Optional-Dependencies ['man-browser']
Build-Dependencies ['debhelper-compat', 'groff', 'groff-base', 'bsdextrautils', 'bzip2', 'binutils', 'clang', 'clang-tidy', 'cpp', 'cppcheck', 'cpplint', 'diffoscope', 'git', 'iwyu', 'lzip', 'man', 'mandoc', 'moreutils', 'pkgconf', 'xz-utils']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash fd5207cf3fdc59e380de1f7becbc74ec4e844d52740eb37ef813691688095496
#! /usr/bin/make -f
export LC_ALL=C.UTF-8
%:
	dh $@

override_dh_auto_configure:
	# adjust non-standard subsection dir names to FHS:
	sed -i 's/\.so man3type/\.so man3/g' man[3,7]*/*
	sed -i 's/\.so man3const/\.so man3/g' man3*/*
	sed -i 's/\.so man3head/\.so man3/g' man3*/*

override_dh_auto_build:
# Nothing to be done here, we're using a custom installation.

override_dh_installchangelogs:
	dh_installchangelogs Changes

override_dh_installman:
	mv debian/tmp/usr/share/man/man5/proc_config.gz.5 debian/tmp/usr/share/man/man5/proc_config_gz.5
	dh_installman --language=C
	mv debian/manpages/usr/share/man/man5/proc_config_gz.5 debian/manpages/usr/share/man/man5/proc_config.gz.5
	# Prevent broken symlinks, see https://bugs.debian.org/876047
	sh debian/move_links_to_correct_package
	# Remove intro.{2,3} manpages from manpages-dev,
	# they are included in manpages
	rm -f debian/manpages-dev/usr/share/man/man2/intro.2
	rm -f debian/manpages-dev/usr/share/man/man3/intro.3
	# Do not install sk98lin.4, see https://bugs.debian.org/780544
	rm -f debian/manpages/usr/share/man/man4/sk98lin.4
	# Start of automatically added files by debian/check-conflicts
	rm -f debian/manpages/usr/share/man/man1/time.1
	rm -f debian/manpages-dev/usr/share/man/man3/crypt.3
	rm -f debian/manpages-dev/usr/share/man/man3/crypt_r.3
	rm -f debian/manpages-dev/usr/share/man/man3/pthread_atfork.3
	rm -f debian/manpages-dev/usr/share/man/man3/pthread_cond_init.3
	rm -f debian/manpages-dev/usr/share/man/man3/pthread_condattr_init.3
	rm -f debian/manpages-dev/usr/share/man/man3/pthread_key_create.3
	rm -f debian/manpages-dev/usr/share/man/man3/pthread_mutex_init.3
	rm -f debian/manpages-dev/usr/share/man/man3/pthread_mutexattr_destroy.3
	rm -f debian/manpages-dev/usr/share/man/man3/pthread_mutexattr_init.3
	rm -f debian/manpages-dev/usr/share/man/man3/pthread_mutexattr_setkind_np.3
	rm -f debian/manpages-dev/usr/share/man/man3/pthread_once.3
	rm -f debian/manpages/usr/share/man/man4/fd.4
	rm -f debian/manpages/usr/share/man/man5/ftpusers.5
	rm -f debian/manpages/usr/share/man/man5/nscd.conf.5
	rm -f debian/manpages/usr/share/man/man5/passwd.5
	rm -f debian/manpages/usr/share/man/man8/nscd.8
	# End of automatically added files by debian/check-conflicts

# manpages-dev has no docs dir
override_dh_installdocs:
	dh_installdocs
	rm -rf debian/manpages-dev/usr/share/doc/manpages-dev
	ln -s manpages debian/manpages-dev/usr/share/doc/manpages-dev