blob: 836b34dca01295a60f6a48ceb0073f39de01bd62 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/usr/bin/make -f
%:
dh ${@} --parallel
override_dh_auto_install:
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lziprecover
# removing unused files
rm -f debian/lziprecover/usr/share/info/dir*
# alternative handling
mv debian/lziprecover/usr/bin/lziprecover debian/lziprecover/usr/bin/lzip.recover
mv debian/lziprecover/usr/share/info/lziprecover.info debian/lziprecover/usr/share/info/lzip.recover.info
mv debian/lziprecover/usr/share/man/man1/lziprecover.1 debian/lziprecover/usr/share/man/man1/lzip.recover.1
ln -s /usr/bin/lzip.recover debian/lziprecover/usr/bin/lziprecover
ln -s /usr/share/info/lzip.recover.info.gz debian/lziprecover/usr/share/info/lziprecover.info.gz
ln -s /usr/share/man/man1/lzip.recover.1.gz debian/lziprecover/usr/share/man/man1/lziprecover.1.gz
override_dh_builddeb:
dh_builddeb -- -Zxz
override_dh_strip:
dh_strip --dbg-package=lziprecover-dbg
|