File: rules

package info (click to toggle)
gphoto2 2.5.11-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 5,460 kB
  • ctags: 830
  • sloc: ansic: 6,609; sh: 4,844; perl: 309; makefile: 127; sed: 16
file content (16 lines) | stat: -rwxr-xr-x 354 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND= -Wl,--as-needed


override_dh_auto_configure:
	dh_auto_configure -- CFLAGS="$(CFLAGS) -fPIE" LDFLAGS="$(LDFLAGS) -fPIE -pie" --with-aalib

override_dh_auto_test:

override_dh_installchangelogs:
	dh_installchangelogs NEWS

%:
	dh $@ --with autotools_dev