File: rules

package info (click to toggle)
caribou 0.4.21-7
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,232 kB
  • sloc: ansic: 14,664; sh: 4,253; xml: 2,045; python: 1,401; makefile: 463
file content (34 lines) | stat: -rwxr-xr-x 920 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
29
30
31
32
33
34
#!/usr/bin/make -f

export PYTHON=/usr/bin/python3

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

%:
	dh $@ --with gnome,python3

override_dh_auto_configure:
	dh_auto_configure -- --libexecdir=/usr/lib/caribou

override_dh_autoreconf:
	dh_autoreconf --as-needed

override_dh_install:
	cp -a modules/caribou-gtk-module.desktop \
	      debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gnome-settings-daemon-3.0/gtk-modules/caribou-gtk3-module.desktop
	find debian/tmp -name '*.a' -print -delete
	find debian/tmp -name '*.la' -print -delete
	dh_install

override_dh_missing:
	dh_missing --fail-missing -X __pycache__

override_dh_makeshlibs:
	dh_makeshlibs -plibcaribou0 -V -- -c4
	dh_makeshlibs -plibcaribou-gtk-module --no-act
	dh_makeshlibs -plibcaribou-gtk3-module --no-act
	dh_makeshlibs --remaining-packages

override_dh_shlibdeps:
	dh_shlibdeps -- -xlibgtk2.0-0