-include debian/rules.ext
+DATAPATH_CONFIGURE_OPTS = --enable-snat
+
configure: configure-stamp
configure-stamp:
dh_testdir
cd _debian && ( \
test -e Makefile || \
../configure --prefix=/usr --localstatedir=/var --enable-ssl \
- --enable-snat)
+ $(DATAPATH_CONFIGURE_OPTS))
$(ext_configure)
touch configure-stamp
dh_testroot
dh_clean -k
tar xzf openflow.tar.gz
- cd openflow && ./configure --with-$(l2x)=$(KSRC)
+ cd openflow && ./configure --with-$(l2x)=$(KSRC) $(DATAPATH_CONFIGURE_OPTS)
cd openflow && $(MAKE) -C $(dpdir)
install -d -m755 $(DSTDIR)
install -m644 openflow/$(dpdir)/*_mod.$(KO)o $(DSTDIR)/
dh_compress
dh_fixperms
dh_installdeb
- dh_gencontrol -- -v$(VERSION)
+ dh_gencontrol
dh_md5sums
dh_builddeb --destdir=$(DEB_DESTDIR)
dh_installdocs
dh_installexamples
dh_installdebconf
-# dh_installlogrotate
+ dh_installlogrotate
dh_installinit
dh_installman
dh_link