debian/control, debian/rules: Call dh-autoreconf and pass LDFLAGS to minimize runtime dependencies
This commit is contained in:
parent
d0947d03cc
commit
a766575eca
3 changed files with 11 additions and 0 deletions
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -7,6 +7,8 @@ nut (2.7.2-1) UNRELEASED; urgency=low
|
|||
* debian/control: Bump Standards-Version to 3.9.5 (no further changes)
|
||||
* debian/tests/control: Add lsb-release and netcat to the dependencies
|
||||
(Closes: #733189)
|
||||
* debian/control, debian/rules: Call dh-autoreconf and pass LDFLAGS to
|
||||
minimize runtime dependencies
|
||||
|
||||
-- Laurent Bigonville <bigon@debian.org> Tue, 22 Apr 2014 20:42:08 +0200
|
||||
|
||||
|
|
1
debian/control
vendored
1
debian/control
vendored
|
@ -6,6 +6,7 @@ Uploaders: Laurent Bigonville <bigon@debian.org>
|
|||
Build-Depends: debhelper (>= 8.1.3),
|
||||
cdbs (>= 0.4.122~),
|
||||
autotools-dev,
|
||||
dh-autoreconf,
|
||||
dh-systemd (>= 1.14),
|
||||
libgd-dev | libgd2-xpm-dev | libgd2-noxpm-dev,
|
||||
libsnmp-dev | libsnmp9-dev,
|
||||
|
|
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -4,12 +4,20 @@ include /usr/share/cdbs/1/rules/debhelper.mk
|
|||
include /usr/share/cdbs/1/class/autotools.mk
|
||||
include /usr/share/cdbs/1/class/python-module.mk
|
||||
|
||||
include /usr/share/cdbs/1/rules/autoreconf.mk
|
||||
# We cannot call autoreconf -f -i as it updates INSTALL which is used for doc
|
||||
# generation
|
||||
DEB_DH_AUTORECONF_ARGS = --as-needed
|
||||
|
||||
DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS 2>/dev/null)
|
||||
|
||||
# List any files which are not installed
|
||||
include /usr/share/cdbs/1/rules/utils.mk
|
||||
common-binary-post-install-arch:: list-missing
|
||||
|
||||
DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs -Wl,-O1 -Wl,--as-needed
|
||||
include /usr/share/dpkg/buildflags.mk
|
||||
|
||||
DEB_CONFIGURE_PREFIX :=
|
||||
DEB_CONFIGURE_SYSCONFDIR := /etc/nut
|
||||
DEB_CONFIGURE_INCLUDEDIR := /usr/include
|
||||
|
|
Loading…
Reference in a new issue