blob: f662944f5ce944b7c25de64d233610802f596c58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
#!/usr/bin/make -f
# Copyright (C) 2009, 2016 Julian Andres Klode <jak@debian.org>
#
# Free Software, licensed under the GPL-2 or (at your option) any later version.
export DEB_LDFLAGS_MAINT_APPEND := -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS := hardening=+all
export DEB_CXXFLAGS_MAINT_STRIP := -O3
export DEB_CFLAGS_MAINT_STRIP := -O3
export DEB_CXXFLAGS_MAINT_APPEND := -O2
export DEB_CFLAGS_MAINT_APPEND := -O2
# do not fail as we are just experimenting with symbol files for now
export DPKG_GENSYMBOLS_CHECK_LEVEL=0
export CTEST_OUTPUT_ON_FAILURE=1
%:
dh $@ --with systemd --parallel --buildsystem=cmake
override_dh_install-indep:
dh_movefiles
dh_install --list-missing
override_dh_install-arch:
dh_movefiles
if [ -e debian/tmp/etc/apt ]; then dh_install -papt etc/apt/* etc/apt; fi
dh_install --list-missing
install -m 644 debian/apt.conf.autoremove debian/apt/etc/apt/apt.conf.d/01autoremove
install -m 755 debian/apt.auto-removal.sh debian/apt/etc/kernel/postinst.d/apt-auto-removal
override_dh_gencontrol:
dh_gencontrol -- -Vapt:keyring="$(shell ./vendor/getinfo keyring-package)"
override_dh_installcron:
dh_installcron --name=apt-compat
override_dh_auto_configure-arch: flags=-DWITH_DOC=OFF
override_dh_auto_configure-indep: flags=-DWITH_DOC=ON
override_dh_auto_configure-arch override_dh_auto_configure-indep:
dh_auto_configure -- $(flags)
|