add needed deep

This commit is contained in:
Mario Fetka
2018-01-12 12:55:43 +01:00
parent 8cb1593144
commit c702884d9d
3 changed files with 54 additions and 9 deletions

15
debian/rules vendored
View File

@@ -3,16 +3,15 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
ifeq ($(DEB_BUILD_ARCH),amd64)
SUBSTVARS = -Vdist:Depends="libc6-i386"
else
SUBSTVARS = -Vdist:Depends="libc6"
endif
override_dh_gencontrol:
dh_gencontrol -- $(SUBSTVARS)
clean:
ifeq ($(DEB_BUILD_ARCH),amd64)
SUBSTVARS = -Vdist:Depends="libc6-i386"
sed -e "s/@BUILD_DEPENDS@/libc6-i386/" debian/control.in >debian/control
else
SUBSTVARS = -Vdist:Depends="libc6"
sed -e "s/@BUILD_DEPENDS@//" debian/control.in >debian/control
endif
dh_testdir
dh_testroot
dh_clean