diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 12:56:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 12:56:09 +0000 |
commit | 494e1949215626d32a57dde3cd184d268c82e738 (patch) | |
tree | 176ed1490ca0fa9bb94755c806cf068163cb18e7 /debian/rules | |
parent | Adding upstream version 1.24. (diff) | |
download | lziprecover-494e1949215626d32a57dde3cd184d268c82e738.tar.xz lziprecover-494e1949215626d32a57dde3cd184d268c82e738.zip |
Adding debian version 1.24-1.debian/1.24-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..150fa3c --- /dev/null +++ b/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/buildtools.mk + +%: + dh ${@} + +override_dh_auto_configure: + dh_auto_configure -- 'CXX=$(CXX)' + +override_dh_auto_install: + dh_auto_install -- DESTDIR=$(CURDIR)/debian/lziprecover + +execute_after_dh_auto_install: + # update-alternatives + mv debian/lziprecover/usr/bin/lziprecover debian/lziprecover/usr/bin/lzip.lziprecover + ln -s /usr/bin/lzip.lziprecover debian/lziprecover/usr/bin/lziprecover + + mv debian/lziprecover/usr/share/info/lziprecover.info debian/lziprecover/usr/share/info/lzip.lziprecover.info + ln -s /usr/share/info/lzip.lziprecover.info.gz debian/lziprecover/usr/share/info/lziprecover.info.gz + + mv debian/lziprecover/usr/share/man/man1/lziprecover.1 debian/lziprecover/usr/share/man/man1/lzip.lziprecover.1 + ln -s /usr/share/man/man1/lzip.lziprecover.1.gz debian/lziprecover/usr/share/man/man1/lziprecover.1.gz + + # removing unused files + rm -f debian/lziprecover/usr/share/info/dir* + +override_dh_auto_test: + # disabled: incomplete upstream testsuite |