diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 14:14:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-13 14:14:40 +0000 |
commit | dc7d04ea63d15b48ce8bf60549446579d46025e0 (patch) | |
tree | 6a389879c46c4271b6daf337ae3828823f4a3a3e /debian/rules | |
parent | Adding upstream version 1.4.3. (diff) | |
download | mmdebstrap-dc7d04ea63d15b48ce8bf60549446579d46025e0.tar.xz mmdebstrap-dc7d04ea63d15b48ce8bf60549446579d46025e0.zip |
Adding debian version 1.4.3-6.debian/1.4.3-6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 30 |
1 files changed, 30 insertions, 0 deletions
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 |