From dc7d04ea63d15b48ce8bf60549446579d46025e0 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 16:14:40 +0200 Subject: Adding debian version 1.4.3-6. Signed-off-by: Daniel Baumann --- debian/rules | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 debian/rules (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..dc165e4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,30 @@ +#!/usr/bin/make -f + +# for DEB_VERSION_UPSTREAM +include /usr/share/dpkg/pkg-info.mk + +%: + dh $@ + +override_dh_installman: + pod2man debian/tmp/usr/bin/mmdebstrap > ./mmdebstrap.1 + pod2man debian/tmp/usr/bin/mmdebstrap-autopkgtest-build-qemu > ./mmdebstrap-autopkgtest-build-qemu.1 + help2man --no-info --name "filter a tarball like dpkg does" --version-string="$(DEB_VERSION_UPSTREAM)" debian/tmp/usr/bin/mmtarfilter > ./mmtarfilter.1 + dh_installman ./mmdebstrap.1 ./mmtarfilter.1 ./mmdebstrap-autopkgtest-build-qemu.1 + rm ./mmdebstrap.1 ./mmtarfilter.1 ./mmdebstrap-autopkgtest-build-qemu.1 + +# override dh_install instead of using debian/mmdebstrap.install because +# dh_install cannot rename files and dh-exec cannot copy directories +override_dh_install: + mkdir -p debian/tmp/usr/bin + cp -a mmdebstrap debian/tmp/usr/bin/mmdebstrap + cp -a tarfilter debian/tmp/usr/bin/mmtarfilter + cp -a mmdebstrap-autopkgtest-build-qemu debian/tmp/usr/bin/mmdebstrap-autopkgtest-build-qemu + mkdir -p debian/tmp/usr/lib/apt/solvers + cp -a proxysolver debian/tmp/usr/lib/apt/solvers/mmdebstrap-dump-solution + mkdir -p debian/tmp/usr/share/mmdebstrap + cp -a hooks debian/tmp/usr/share/mmdebstrap + mkdir -p debian/tmp/usr/libexec/mmdebstrap + cp -a gpgvnoexpkeysig debian/tmp/usr/libexec/mmdebstrap + cp -a ldconfig.fakechroot debian/tmp/usr/libexec/mmdebstrap + dh_install -- cgit v1.2.3