File: rules

package info (click to toggle)
libxfce4util 4.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,288 kB
  • sloc: sh: 4,244; ansic: 3,781; makefile: 216; perl: 101; xml: 44
file content (25 lines) | stat: -rwxr-xr-x 596 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
#!/usr/bin/make -f

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

ifeq ($(shell dpkg-vendor --derives-from Ubuntu && echo yes),yes)
	export DEB_CPPFLAGS_MAINT_APPEND=-DUBUNTU
else
	export DEB_CPPFLAGS_MAINT_APPEND=-DDEBIAN
endif

override_dh_auto_configure:
	dh_auto_configure -- --enable-gtk-doc --enable-introspection=yes

override_dh_install:
	dh_install -X .la

override_dh_missing:
	dh_missing --fail-missing -X .la

override_dh_strip:
	dh_strip --dbgsym-migration='libxfce4util7-dbg (<< 4.13.0-1~)'

%:
	dh $@ --with gir