File: rules

package info (click to toggle)
thunar 4.18.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 24,620 kB
  • sloc: ansic: 81,877; sh: 4,461; makefile: 1,028; xml: 960; python: 41
file content (34 lines) | stat: -rwxr-xr-x 1,009 bytes parent folder | download | duplicates (3)
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
33
34
#!/usr/bin/make -f

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

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh $@ --with gir

override_dh_auto_configure:
	dh_auto_configure -- \
		--docdir=\$${prefix}/share/doc/thunar-data \
		--enable-apr-plugin \
		--enable-exif \
		--enable-gtk-doc \
		--enable-pcre \
		--enable-sbr-plugin \
		--enable-tpa-plugin \
		--enable-uca-plugin \
		--enable-introspection=yes

execute_after_dh_auto_install:
	find debian/tmp -name '*.la*' -delete

override_dh_installchangelogs:
	DEB_BUILD_OPTIONS=notrimdch dh_installchangelogs NEWS

override_dh_shlibdeps:
	dh_shlibdeps -X debian/thunar/usr/lib/$(DEB_HOST_MULTIARCH)/xfce4/panel/plugins/libthunar-tpa.so -- \
    -dRecommends debian/thunar/usr/lib/$(DEB_HOST_MULTIARCH)/xfce4/panel/plugins/libthunar-tpa.so -dDepends

override_dh_makeshlibs:
	dh_makeshlibs -p libthunarx-3-0 -X debian/libthunarx-3-0/usr/lib/$(DEB_HOST_MULTIARCH)/thunarx-3