File: rules

package info (click to toggle)
genius 1.0.25-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 23,664 kB
  • sloc: ansic: 75,189; xml: 67,202; sh: 4,394; makefile: 1,926; lex: 499; yacc: 298; perl: 54
file content (23 lines) | stat: -rwxr-xr-x 580 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
#!/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_missing:
	dh_missing --fail-missing