Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8
9 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
10
11
12 %:
13 dh ${@}
14
15
16 override_dh_auto_configure:
17 dh_auto_configure -- \
18 --disable-silent-rules \
19 --enable-opaque-hierarchy="name=systemd"
20
21
22 override_dh_auto_test:
23 # Disabled. Requires root and also modifies the testbed.
24
25
26 override_dh_auto_install:
27 dh_auto_install
28
29 # Remove unwanted/unused files (because of --fail-missing)
30 cd debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) && \
31 rm -f *.la security/*.la security/*.a \
32 libcgroupfortesting.so.* \
33 libcgset.so.*
34
35 override_dh_missing:
36 dh_missing --fail-missing
37
38
39 override_dh_compress:
40 dh_compress -Xexamples
41
42
43 override_dh_makeshlibs:
44 dh_makeshlibs -Xpam_cgroup.so