File: rules

package info (click to toggle)
gmobile 0.2.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 592 kB
  • sloc: ansic: 1,963; xml: 29; sh: 20; makefile: 9; javascript: 6
file content (15 lines) | stat: -rwxr-xr-x 466 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/make -f
#export DH_VERBOSE = 1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

CONFIGURE_OPTS  = -Dexamples=true -Dgtk_doc=true
CONFIGURE_OPTS += -Dtests=$(if $(filter nocheck,$(DEB_BUILD_PROFILES)),false,true)
CONFIGURE_OPTS += -Dgtk_doc=$(if $(filter nodoc,$(DEB_BUILD_PROFILES)),false,true)
CONFIGURE_OPTS += -Dman=$(if $(filter nodoc,$(DEB_BUILD_PROFILES)),false,true)

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- $(CONFIGURE_OPTS)