summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2016-02-21 12:35:02 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2016-05-12 15:03:40 +0000
commit8a57ee82a09ed9e9848b9726ca5a12f95355a616 (patch)
tree674ec381c6a7e3fd95fc48fe28f81b6094c76730
parentUpdating years in copyright file. (diff)
downloadlzlib-8a57ee82a09ed9e9848b9726ca5a12f95355a616.tar.xz
lzlib-8a57ee82a09ed9e9848b9726ca5a12f95355a616.zip
Harmonizing rules file.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
-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