File: rules

package info (click to toggle)
surgescript 0.5.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,896 kB
  • sloc: ansic: 13,768; sh: 61; makefile: 15
file content (24 lines) | stat: -rwxr-xr-x 502 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
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -fPIE
export DEB_LDFLAGS_MAINT_APPEND = -pie

%:
	dh $@

override_dh_auto_install:
	dh_auto_install
	# find empty directory for removal.
	find debian -type d -empty -delete -printf 'removed %p\n'

override_dh_auto_configure:
	dh_auto_configure -- \
		-DLIB_SUFFIX=/$(DEB_HOST_MULTIARCH)

override_dh_compress:
	dh_compress -X.ss

override_dh_missing:
	dh_missing --list-missing