Small cleanup of debian/rules

This commit is contained in:
Raphaël Hertzog 2016-11-28 23:00:00 +01:00
parent 02d933fc17
commit db5b398a71
1 changed files with 3 additions and 9 deletions

12
debian/rules vendored
View File

@ -1,7 +1,7 @@
#!/usr/bin/make -f
%:
dh ${@} --parallel
dh $@ --parallel
override_dh_auto_install:
dh_auto_install -- DESTDIR=debian/live-build
@ -9,12 +9,6 @@ override_dh_auto_install:
# Removing unused files
rm -f debian/live-build/usr/share/doc/live-build/COPYING
override_dh_builddeb:
dh_builddeb -- -Zxz
override_dh_link:
dh_link
# workaround dh_link convertion of absolute symlinks to relvative symlinks
rm -rf debian/live-build/usr/share/live/build/bootloaders
cp -a share/bootloaders debian/live-build/usr/share/live/build/bootloaders
# workaround dh_link conversion of absolute symlinks to relative symlinks
dh_link -X/bootloaders/