File: rules

package info (click to toggle)
genius 1.0.24-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 27,952 kB
  • sloc: ansic: 105,597; xml: 67,672; sh: 4,537; makefile: 2,089; lex: 499; yacc: 298; perl: 54; python: 22
file content (24 lines) | stat: -rwxr-xr-x 581 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
#!/usr/bin/make -f

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

DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --disable-update-mimedb --disable-static \
		--libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/genius

override_dh_auto_install:
	dh_auto_install
	find debian/tmp/usr/lib -name '*.a' -o -name '*.la' -delete
	# no use for test plugins
	rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/genius/libtestplugin*

override_dh_install:
	dh_install --fail-missing