diff --git a/debian/rules b/debian/rules
index e1e3045523bfc12f6c6e2f7808c5a0da5618b73d..5c1409c61b82b697d58f59bae6a51e56af1ea8d9 100755 (executable)
--- a/debian/rules
+++ b/debian/rules
CFLAGS += -O2
endif
-include /usr/share/dpatch/dpatch.make
-
# $srcver-$perlver-$debrev
LIBPERL_VERSION := $(shell pm_ver=`perl -MExtUtils::MM -e \
'print MM->parse_version("bindings/perl/lib/Net/Oping.pm");'`; \
pkg_ver=`dpkg-parsechangelog | egrep '^Version:' | cut -d' ' -f2`; \
echo -n "$${pkg_ver%-*}-$$pm_ver-$${pkg_ver\#\#*-}")
-config.status: configure $(DPATCH_STAMPFN)
+config.status: configure
dh_testdir
for file in config.guess config.sub; do \
ln -s /usr/share/misc/$$file .; \
done
- CFLAGS="$(CFLAGS)" ./configure \
+ ./configure \
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr \
--mandir=\$${prefix}/share/man \
- --with-perl-bindings="INSTALLDIRS=vendor"
+ --with-perl-bindings="INSTALLDIRS=vendor" \
+ CFLAGS="$(CFLAGS)"
build: build-stamp
touch build-stamp
-clean: unpatch
+clean:
dh_testdir
dh_testroot
rm -f build-stamp