File: rules

package info (click to toggle)
mate-media 1.16.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,108 kB
  • ctags: 676
  • sloc: ansic: 7,442; makefile: 293; sh: 72
file content (28 lines) | stat: -rwxr-xr-x 655 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
#!/usr/bin/make -f

DHFLAGS=--parallel

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ $(DHFLAGS)

override_dh_install:
	dh_install --fail-missing

override_dh_auto_configure:
	# upstream tarball is without configure. autogen.sh will create it
	NOCONFIGURE=1 ./autogen.sh
	dh_auto_configure $(DHFLAGS) -- \
		--localstatedir=/var \
		--disable-silent-rules \
		--disable-static \
		--with-gtk=3.0

override_dh_strip:
	dh_strip --dbgsym-migration='mate-media-dbg (<< 1.14.0-2~)'

get-orig-source:
	uscan --noconf --force-download --rename --download-current-version --destdir=..