diff options
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..14efe40 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/buildtools.mk + +%: + dh ${@} + +override_dh_auto_configure: + dh_auto_configure -- 'CC=$(CC) -g' + +override_dh_auto_install: + dh_auto_install -- DESTDIR=$(CURDIR)/debian/lunzip + +execute_after_dh_auto_install: + # update-alternatives + mv debian/lunzip/usr/bin/lunzip debian/lunzip/usr/bin/lzip.lunzip + ln -s /usr/bin/lzip.lunzip debian/lunzip/usr/bin/lunzip + + mv debian/lunzip/usr/share/man/man1/lunzip.1 debian/lunzip/usr/share/man/man1/lzip.lunzip.1 + ln -s /usr/share/man/man1/lzip.lunzip.1.gz debian/lunzip/usr/share/man/man1/lunzip.1.gz |