File: rules

package info (click to toggle)
pappl 1.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,944 kB
  • sloc: ansic: 29,715; sh: 3,097; makefile: 281
file content (20 lines) | stat: -rwxr-xr-x 532 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=+all

%:
	# Do not build with autoreconf, see https://github.com/michaelrsweet/pappl/pull/126
	dh $@ --without autoreconf

override_dh_auto_configure:
	# Add LDFLAGS in DSOFLAGS, as that's what PAPPL uses for linking
	dh_auto_configure -- \
		--with-dsoflags="$(LDFLAGS)"

execute_before_dh_auto_clean:
	# Makedefs doesn't exist in repository/tarball; pretend it does
	touch Makedefs

execute_before_dh_auto_configure:
	# Verbose builds
	sed '/.SILENT/d' -i Makedefs.*