Source: znc
Version: 1.7.1-2
Severity: minor
Tags: patch
Hi,
the current rules overrides dh_auto_build, and dh_auto_install:
- in case of dh_auto_build, to pass VERBOSE=1 to the build (so it is
verbose)
- in case of dh_auto_install, it does not seem clear why, since the
debhelper behaviour with more than 1 binary package is to use
debian/tmp as installation directory
Hence:
- move VERBOSE=1 as environment variable for the whole build, so it
will be used also when running the tests (dh_auto_test), and when
installing (dh_auto_install)
- remove the overrides of dh_auto_build, and dh_auto_install, no more
useful now
Thanks,
--
Pino
--- a/debian/rules
+++ b/debian/rules
@@ -18,18 +18,14 @@ DEB_CONFIGURE_EXTRA_FLAGS := \
--with-gtest=/usr/src/googletest/googletest \
--with-gmock=/usr/src/googletest/googlemock
+export VERBOSE=1
+
%:
dh $@ --with python3
override_dh_auto_configure:
dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)
-override_dh_auto_build:
- $(MAKE) VERBOSE=1
-
-override_dh_auto_install:
- $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
-
override_dh_python3:
dh_python3 \
-p znc-python \