File: rules

package info (click to toggle)
seahorse-nautilus 3.11.92-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 4,104 kB
  • sloc: sh: 11,419; ansic: 4,270; xml: 469; makefile: 145
file content (28 lines) | stat: -rwxr-xr-x 651 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
23
24
25
26
27
28
#!/usr/bin/make -f

ifeq (,$(filter terse,$(DEB_BUILD_OPTIONS)))
	export DH_VERBOSE = 1
else
	CONF_OPTIONS := --quiet
endif

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_CFLAGS_MAINT_APPEND = -Wall -Wno-deprecated-declarations
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

%:
	dh $@

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_auto_configure:
	dh_auto_configure -- $(CONF_OPTIONS)

override_dh_auto_install:
	dh_auto_install
	find debian/seahorse-nautilus -name '*.la' -exec rm -f {} \;

override_dh_makeshlibs:
	# libnautilus-seahorse.so is a plugin, not a shared library
	dh_makeshlibs -Xlibnautilus-seahorse