File: rules

package info (click to toggle)
gmpc-plugins 11.8.16-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid, trixie
  • size: 17,200 kB
  • sloc: sh: 10,243; ansic: 7,453; makefile: 355
file content (36 lines) | stat: -rwxr-xr-x 784 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
33
34
35
36
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all

include /usr/share/dpkg/default.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
		--disable-static \
		--disable-lyricwiki \
		--disable-jamendo \
		--disable-magnatune \
		--disable-tagedit \
		--disable-wikipedia \
		--disable-albumview

override_dh_strip:
	dh_strip --dbgsym-migration='gmpc-plugins-dbg (<< 11.8.16-4~)'

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp
	find debian/tmp -name '*.la' -print0 | xargs -0 rm -f

override_dh_install:
	mv debian/tmp/usr/lib/gmpc/plugins/awnplugin.so \
	   debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/gmpc/plugins
	dh_install

override_dh_clean:
	dh_clean
	rm -f config.status config.log

override_dh_missing:
	dh_missing --fail-missing