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

%:
	dh ${@} --parallel

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

	# alternative handling
	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

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