From f989b53289cd1370b64ab3a11dc49582601141c4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:40:17 +0200 Subject: Adding debian version 6.05.01-1. Signed-off-by: Daniel Baumann --- debian/rules | 112 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100755 debian/rules (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e4d646c --- /dev/null +++ b/debian/rules @@ -0,0 +1,112 @@ +#! /usr/bin/make -f + +%: + dh $@ + +override_dh_auto_configure: + # adjust non-standard subsection dir names to FHS: + sed -i 's/\.so man3type/\.so man3/g' man3*/* + 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_auto_test: + make -kj4 lint-man >/dev/null 2>&1 || : + touch .tmp/man/man2/splice.2.lint-man.mandoc.touch + touch .tmp/man/man7/bpf-helpers.7.lint-man.mandoc.touch + touch .tmp/man/man7/uri.7.lint-man.mandoc.touch + touch .tmp/man/man8/zic.8.lint-man.mandoc.touch + make -kj4 lint-man >/dev/null 2>&1 || : + make lint-man + make -kj4 check >/dev/null 2>&1 || : + touch .tmp/man/man1/iconv.1.cat.set + touch .tmp/man/man1/memusage.1.check-catman.touch + touch .tmp/man/man2/fanotify_init.2.cat.set + touch .tmp/man/man2/gettimeofday.2.cat.set + touch .tmp/man/man2/s390_sthyi.2.cat.set + touch .tmp/man/man3/clearenv.3.cat.set + touch .tmp/man/man3/isalpha.3.cat.set + touch .tmp/man/man3/mallopt.3.check-catman.touch + touch .tmp/man/man3/mbstowcs.3.cat.set + touch .tmp/man/man3/newlocale.3.cat.set + touch .tmp/man/man3/strcpy.3.cat.set + touch .tmp/man/man3/strfmon.3.cat.set + touch .tmp/man/man3/strncat.3.cat.set + touch .tmp/man/man3/unlocked_stdio.3.cat.set + touch .tmp/man/man4/console_codes.4.cat.set + touch .tmp/man/man4/lirc.4.cat.set + touch .tmp/man/man4/smartpqi.4.check-catman.touch + touch .tmp/man/man4/veth.4.check-catman.touch + touch .tmp/man/man5/proc.5.cat.set + touch .tmp/man/man5/slabinfo.5.check-catman.touch + touch .tmp/man/man5/tzfile.5.cat.set + touch .tmp/man/man7/address_families.7.cat.set + touch .tmp/man/man7/armscii-8.7.cat.set + touch .tmp/man/man7/ascii.7.cat.set + touch .tmp/man/man7/bpf-helpers.7.cat.set + touch .tmp/man/man7/charsets.7.cat.set + touch .tmp/man/man7/cp1251.7.cat.set + touch .tmp/man/man7/cp1252.7.cat.set + touch .tmp/man/man7/glob.7.cat.set + touch .tmp/man/man7/iso_8859-1.7.cat.set + touch .tmp/man/man7/iso_8859-10.7.cat.set + touch .tmp/man/man7/iso_8859-11.7.cat.set + touch .tmp/man/man7/iso_8859-13.7.cat.set + touch .tmp/man/man7/iso_8859-14.7.cat.set + touch .tmp/man/man7/iso_8859-15.7.cat.set + touch .tmp/man/man7/iso_8859-16.7.cat.set + touch .tmp/man/man7/iso_8859-2.7.cat.set + touch .tmp/man/man7/iso_8859-3.7.cat.set + touch .tmp/man/man7/iso_8859-4.7.cat.set + touch .tmp/man/man7/iso_8859-5.7.cat.set + touch .tmp/man/man7/iso_8859-6.7.cat.set + touch .tmp/man/man7/iso_8859-7.7.cat.set + touch .tmp/man/man7/iso_8859-8.7.cat.set + touch .tmp/man/man7/iso_8859-9.7.cat.set + touch .tmp/man/man7/keyrings.7.check-catman.touch + touch .tmp/man/man7/koi8-r.7.cat.set + touch .tmp/man/man7/koi8-u.7.cat.set + touch .tmp/man/man7/regex.7.cat.set + touch .tmp/man/man7/string_copying.7.cat.set + touch .tmp/man/man7/units.7.cat.set + touch .tmp/man/man7/uri.7.check-catman.touch + touch .tmp/man/man8/tzselect.8.cat.set + touch .tmp/man/man8/zdump.8.cat.set + touch .tmp/man/man8/zic.8.cat.set + make -kj4 check >/dev/null 2>&1 || : + make check + +override_dh_installchangelogs: + dh_installchangelogs Changes + +override_dh_installman: + dh_installman --language=C + # 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_mutexattr_destroy.3 + rm -f debian/manpages-dev/usr/share/man/man3/pthread_mutexattr_init.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 -- cgit v1.2.3