File: rules

package info (click to toggle)
geocode-glib 3.26.3-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 940 kB
  • sloc: ansic: 6,145; xml: 36; sh: 24; makefile: 15
file content (22 lines) | stat: -rwxr-xr-x 452 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/make -f

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

binaries := $(shell dh_listpackages)

ifeq ($(filter %-doc,$(binaries)),)
enable_gtk_doc = false
else
enable_gtk_doc = true
endif

%:
	dh $@ --with gnome,gir --buildsystem=meson

override_dh_auto_configure:
	dh_auto_configure -- -Denable-gtk-doc=$(enable_gtk_doc) \
		-Dsoup2=false

override_dh_makeshlibs:
	dh_makeshlibs -- -c4