3
configure := --with-xtlibdir=/lib/xtables --enable-libipq \
4
--enable-devel --libdir=/lib
5
install := --exclude=-multi
3
_shlibdeps := -a -Xlib/xtables
4
_configure := --with-xtlibdir=/lib/xtables \
5
--enable-libipq --enable-devel --libdir=/lib
10
binary binary-arch binary-indep: install
10
binary: binary-arch binary-indep
11
binary-arch binary-indep: install
13
dh $@ --before dh_shlibdeps
14
dpkg-gensymbols -piptables
15
dh_shlibdeps $(_shlibdeps)
12
18
ifneq ($(USE_BUILD_DIR),TRUE)
14
19
include debian/builddir.mk
18
include /usr/share/quilt/quilt.make
20
build: patch debian/stamp-build
21
build: debian/stamp-build
21
22
debian/stamp-build:
22
23
dh build --before dh_auto_configure
24
dh_auto_configure -- $(configure)
25
dh build --after dh_auto_configure
25
dh_auto_configure -- $(_configure)
28
28
install: build debian/stamp-install
29
29
debian/stamp-install:
30
dh install --before dh_install
33
#fixme# excluding the *-multi binaries fails on buildds
34
find debian/iptables/sbin -type f -name \*-multi | xargs -r rm -v
39
mv debian/iptables/usr/sbin/iptables-xml debian/iptables/usr/bin
41
dh install --after dh_install
30
install -v -D iptables-apply debian/tmp/usr/sbin/iptables-apply