]> git.saurik.com Git - apt.git/blame - debian/rules
CMake: Exclude .md5 and .map doxygen files from install
[apt.git] / debian / rules
CommitLineData
2d18d44e 1#!/usr/bin/make -f
e825742b
JAK
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
7eee083a 7
149daa16
DK
8# do not fail as we are just experimenting with symbol files for now
9export DPKG_GENSYMBOLS_CHECK_LEVEL=0
201eaabd 10
e825742b
JAK
11%:
12 dh $@ --with systemd --parallel --buildsystem=cmake
d546f98d 13
e825742b
JAK
14override_dh_install-indep:
15 dh_movefiles
16 dh_install --list-missing
d546f98d 17
e825742b
JAK
18override_dh_install-arch:
19 dh_movefiles
20 dh_install --fail-missing
21 install -m 644 debian/apt.conf.autoremove debian/apt/etc/apt/apt.conf.d/01autoremove
22 install -m 755 debian/apt.auto-removal.sh debian/apt/etc/kernel/postinst.d/apt-auto-removal
d546f98d 23
e825742b
JAK
24override_dh_gencontrol:
25 dh_gencontrol -- -Vapt:keyring="$(shell ./vendor/getinfo keyring-package)"
e941cc69 26
e825742b
JAK
27override_dh_installcron:
28 dh_installcron --name=apt-compat
2d18d44e 29
ee7ddf12 30
e825742b
JAK
31override_dh_auto_configure-arch: flags=-DWITH_DOC=OFF
32override_dh_auto_configure-indep: flags=-DWITH_DOC=ON
33override_dh_auto_configure-arch override_dh_auto_configure-indep:
34 dh_auto_configure -- $(flags)