Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # see FEATURE AREAS in dpkg-buildflags(1)
5 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
6
7 %:
8 dh $@
9
10 override_dh_auto_configure:
11 dh_auto_configure -- --with-hmac-library=gnutls
12
13 # Make generated documentation reproducible
14 override_dh_auto_build:
15 TZ=UTC dh_auto_build
16 make test/boothtestenv.py test/runtests.py
17
18 override_dh_auto_install:
19 dh_auto_install
20 install -D -m 644 contrib/geo-cluster.firewalld.xml \
21 debian/tmp/usr/lib/firewalld/services/booth.xml
22 # we can't ship the upstream init script, it uses startproc
23 rm -v debian/tmp/etc/init.d/booth-arbitrator
24 rm -v debian/tmp/usr/share/doc/booth/COPYING
25
26 override_dh_install:
27 dh_install --exclude=.md5
28
29 # upstream tests fail on some architectures, run them from debian/tests
30 override_dh_auto_test:
31
32 # 1) booth should be started through pacemaker. So, neither enable nor
33 # start the service.
34 # 2) booth-arbitrator should be enabled manually to not conflict with
35 # pacemaker setups.
36 override_dh_installinit:
37 dh_installinit --no-enable --no-start
38 override_dh_installsystemd:
39 dh_installsystemd --no-enable --no-start