File: rules

package info (click to toggle)
aufs-tools 1:4.14+20190211-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 776 kB
  • sloc: ansic: 5,867; sh: 552; makefile: 286
file content (25 lines) | stat: -rwxr-xr-x 510 bytes parent folder | download | duplicates (2)
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
#!/usr/bin/make -f

export DH_VERBOSE = 1
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

# Set LibAuDir to proper directory
export LibAuDir = /usr/lib

include /usr/share/dpkg/architecture.mk
ifeq ($(origin CC),default)
export CC=$(DEB_HOST_GNU_TYPE)-gcc
endif

%:
	dh ${@}

override_dh_auto_clean:
	dh_auto_clean -- clean

override_dh_auto_build:
	# avoid passing CC to the make command line via dh_auto_build
	$(MAKE)

override_dh_strip:
	dh_strip --dbgsym-migration='aufs-tools-dbg (<< 1:4.0+20160822-1)'