File: rules

package info (click to toggle)
libxfce4ui 4.20.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 8,628 kB
  • sloc: ansic: 10,579; sh: 5,207; makefile: 557; xml: 123; perl: 109; sed: 16
file content (32 lines) | stat: -rwxr-xr-x 755 bytes parent folder | download | duplicates (2)
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
29
30
31
32
#!/usr/bin/make -f

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

XFVENDOR=Debian
ifeq ($(shell dpkg-vendor --is Ubuntu && echo yes),yes)
	XFVENDOR=Xubuntu
endif

%:
	dh $@ --with gir

override_dh_auto_configure:
	dh_auto_configure -- \
		--with-vendor-info=$(XFVENDOR) \
		--enable-gtk-doc \
		--enable-introspection=yes \
		--enable-vala=no

override_dh_install:
	find debian/tmp -name '*.la' -delete
ifneq ($(XFVENDOR),Xubuntu)
	dh_install --sourcedir=$(CURDIR) -plibxfce4ui-utils debian/vendorinfo usr/share/xfce4
endif
	dh_install

override_dh_installchangelogs:
	DEB_BUILD_OPTIONS=notrimdch dh_installchangelogs NEWS

override_dh_makeshlibs:
	dh_makeshlibs -plibxfce4ui-2-0 -Xlibxfce4kbd-private