File: rules

package info (click to toggle)
pdfio 1.6.1%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,108 kB
  • sloc: ansic: 23,012; sh: 3,774; makefile: 237
file content (17 lines) | stat: -rwxr-xr-x 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	# Do not build with autoreconf, see https://github.com/michaelrsweet/pappl/pull/126 (valid for all projects by Michael Sweet)
	dh $@ --without autoreconf

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

override_dh_compress:
	# Do not compress the examples
	dh_compress -Xexamples