summaryrefslogtreecommitdiffstats
path: root/debian/rules
blob: 66d4e2de1b8ae270e3384ac1c012eeb744e376c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

%:
	dh ${@}

override_dh_auto_install:
	dh_auto_install -- DESTDIR=$(CURDIR)/debian/lunzip

	# alernative handling
	mv debian/lunzip/usr/bin/lunzip debian/lunzip/usr/bin/lzip.decompressor
	mv debian/lunzip/usr/share/man/man1/lunzip.1 debian/lunzip/usr/share/man/man1/lzip.decompressor.1

	ln -s /usr/bin/lzip.decompressor debian/lunzip/usr/bin/lunzip
	ln -s /usr/share/man/man1/lzip.decompressor.1.gz debian/lunzip/usr/share/man/man1/lunzip.1.gz

override_dh_builddeb:
	dh_builddeb -- -Zxz

override_dh_strip:
	dh_strip --dbg-package=lunzip-dbg