File: rules

package info (click to toggle)
libcgroup 3.1.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,764 kB
  • sloc: ansic: 14,997; cpp: 9,957; python: 8,340; sh: 5,194; yacc: 470; makefile: 400; lex: 38
file content (44 lines) | stat: -rwxr-xr-x 842 bytes parent folder | download
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
43
44
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)


%:
	dh ${@}


override_dh_auto_configure:
	dh_auto_configure -- \
			--disable-silent-rules \
			--enable-opaque-hierarchy="name=systemd"


override_dh_auto_test:
	# Disabled. Requires root and also modifies the testbed.


override_dh_auto_install:
	dh_auto_install

	# Remove unwanted/unused files (because of --fail-missing)
	cd debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH) && \
		rm -f *.la security/*.la security/*.a \
		libcgroupfortesting.so.* \
		libcgset.so.*

override_dh_missing:
	dh_missing --fail-missing


override_dh_compress:
	dh_compress -Xexamples


override_dh_makeshlibs:
	dh_makeshlibs -Xpam_cgroup.so