]> git.saurik.com Git - apt.git/blame_incremental - debian/rules
debian: Add more lintian overrides
[apt.git] / debian / rules
... / ...
CommitLineData
1#!/usr/bin/make -f
2# Copyright (C) 2009, 2016 Julian Andres Klode <jak@debian.org>
3#
4# Free Software, licensed under the GPL-2 or (at your option) any later version.
5export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
6export DEB_BUILD_MAINT_OPTIONS := hardening=+all
7
8# do not fail as we are just experimenting with symbol files for now
9export DPKG_GENSYMBOLS_CHECK_LEVEL=0
10
11export CTEST_OUTPUT_ON_FAILURE=1
12
13%:
14 dh $@
15
16override_dh_install-indep:
17 dh_movefiles
18 dh_install --list-missing
19
20override_dh_install-arch:
21 dh_movefiles
22 dh_install --list-missing
23 install -m 644 debian/apt.conf.autoremove debian/apt/etc/apt/apt.conf.d/01autoremove
24 install -m 755 debian/apt.auto-removal.sh debian/apt/etc/kernel/postinst.d/apt-auto-removal
25
26override_dh_gencontrol:
27 dh_gencontrol -- -Vapt:keyring="$(shell ./vendor/getinfo keyring-package)"
28
29override_dh_installcron:
30 dh_installcron --name=apt-compat
31
32
33override_dh_auto_configure-arch: flags=-DWITH_DOC=OFF
34override_dh_auto_configure-indep: flags=-DWITH_DOC=ON
35override_dh_auto_configure-arch override_dh_auto_configure-indep:
36 dh_auto_configure -- $(flags)