summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/rules8
1 files changed, 6 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 8084ef1..56b978a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,8 +12,12 @@ override_dh_auto_install:
dh_auto_install -- LDCONFIG=/bin/true
# minilzip
- install -D -m 0755 minilzip_shared debian/minilzip/usr/bin/lzip.minilzip
- install -D -m 0644 doc/minilzip.1 debian/minilzip/usr/share/man/man1/lzip.minilzip.1
+ install -D -m 0755 minilzip_shared debian/minilzip/usr/bin/minilzip
+ install -D -m 0644 doc/minilzip.1 debian/minilzip/usr/share/man/man1/minilzip.1
+
+ # alternative handling
+ mv debian/minilzip/usr/bin/minilzip debian/minilzip/usr/bin/lzip.minilzip
+ mv debian/minilzip/usr/share/man/man1/minilzip.1 debian/minilzip/usr/share/man/man1/lzip.minilzip.1
ln -s /usr/bin/lzip.minilzip debian/minilzip/usr/bin/minilzip
ln -s /usr/share/man/man1/lzip.minilzip.1.gz debian/minilzip/usr/share/man/man1/minilzip.1.gz