summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2016-11-28 23:00:00 +0100
committerRaphaël Hertzog <hertzog@debian.org>2016-11-28 23:07:18 +0100
commitdb5b398a716441fc6d946da62280ffb39b845e9b (patch)
tree795b4466263f130a1d34b1c3bf095c6527fc8e23 /debian/rules
parent02d933fc17c6355a180f8af5ab98365d173215d5 (diff)
downloadvyos-live-build-db5b398a716441fc6d946da62280ffb39b845e9b.tar.gz
vyos-live-build-db5b398a716441fc6d946da62280ffb39b845e9b.zip
Small cleanup of debian/rules
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules12
1 files changed, 3 insertions, 9 deletions
diff --git a/debian/rules b/debian/rules
index 9a8e28404..7ad7acac6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -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/