File: rules

package info (click to toggle)
pristine-tar 1.49
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,080 kB
  • sloc: ansic: 9,417; perl: 1,973; sh: 360; makefile: 211; python: 109
file content (20 lines) | stat: -rwxr-xr-x 450 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow,+pie

%:
	dh $@

override_dh_auto_configure:
	# keeps it out of /usr/local
	dh_auto_configure -- PREFIX=/usr

override_dh_auto_build:
	dh_auto_build -- $(shell dpkg-buildflags --export=cmdline)

override_dh_auto_clean:
	# distclean moans about MANIFEST, this is quieter
	if [ -e Makefile ]; then $(MAKE) realclean; fi

override_dh_makeshlibs:
	# only contains private libraries