Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # See debhelper(7) (uncomment to enable)
3 # output every command that modifies files on the build system.
4 #export DH_VERBOSE = 1
5
6 include /usr/share/dpkg/buildtools.mk
7
8 export DEB_BUILD_MAINT_OPTIONS := qa=+bug hardening=+all reproducible=+all
9 export DEB_CFLAGS_MAINT_APPEND := -Wno-error=array-bounds
10 export SYSTEMD_SYSTEM_UNIT_DIR = $(shell $(PKG_CONFIG) --variable=systemdsystemunitdir systemd | sed s,^/,,)
11
12 %:
13 dh $@ --without single-binary
14
15
16 override_dh_auto_configure:
17 dh_auto_configure -- --auto-features=enabled \
18 -Ddocs=$(if $(filter nodoc,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)),disabled,enabled) \
19 -Dwerror=false \
20 $(empty)
21
22 # The tests are all interactive and/or require root privileges
23 override_dh_auto_test:
24
25 override_dh_auto_install:
26 dh_auto_install --destdir=debian/tmp
27
28 override_dh_installchangelogs:
29 dh_installchangelogs NEWS.md