File: rules

package info (click to toggle)
libgxps 0.3.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 916 kB
  • sloc: ansic: 10,868; xml: 999; sh: 18; makefile: 9
file content (13 lines) | stat: -rwxr-xr-x 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,-z,defs
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		-Denable-gtk-doc=$(if $(filter %-doc,$(shell dh_listpackages)),true,false) \
		-Denable-man=$(if $(filter nodoc,$(DEB_BUILD_OPTIONS)),false,true)