2025-02-21 10:10:05 +01:00
|
|
|
#!/usr/bin/make -f
|
|
|
|
|
|
|
|
%:
|
|
|
|
dh ${@}
|
|
|
|
|
|
|
|
override_dh_auto_install:
|
|
|
|
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lziprecover
|
|
|
|
|
|
|
|
# removing unused files
|
|
|
|
rm -f debian/lziprecover/usr/share/info/dir*
|
|
|
|
|
2025-02-21 11:14:00 +01:00
|
|
|
# alternative handling
|
2025-02-21 11:11:38 +01:00
|
|
|
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
|
|
|
|
|
2025-02-21 10:10:05 +01:00
|
|
|
override_dh_strip:
|
|
|
|
dh_strip --dbg-package=lziprecover-dbg
|
|
|
|
|
|
|
|
override_dh_builddeb:
|
2025-02-21 11:11:36 +01:00
|
|
|
dh_builddeb -- -Zxz
|