File: rules

package info (click to toggle)
weston 5.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,844 kB
  • sloc: ansic: 101,677; sh: 4,389; makefile: 1,412; xml: 704
file content (28 lines) | stat: -rwxr-xr-x 832 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

override_dh_auto_configure:
	dh_auto_configure -- --disable-libunwind --libexec=/usr/lib/weston \
		--with-cairo=image --enable-screen-sharing \
		--enable-systemd-notify

override_dh_auto_test:
	# the test suite does not 100% pass in headless mode
	dh_auto_test || true

override_dh_install:
	dh_install --fail-missing -X.la

override_dh_makeshlibs:
	dh_makeshlibs -Xlibweston-5/ -- -c4

override_dh_fixperms:
	dh_fixperms -Xusr/bin/weston-launch

%:
	dh $@ --with quilt

# For maintainer use only, generate a tarball:
gentarball: SOURCE=$(shell dpkg-parsechangelog|awk '/^Source:/ {print $$2}')
gentarball: UV=$(shell dpkg-parsechangelog|awk '/^Version:/ {print $$2}'|sed 's/-.*$$//')
gentarball:
	git archive --format=tar upstream-unstable --prefix=$(SOURCE)-$(UV)/ | gzip -9 > ../$(SOURCE)_$(UV).orig.tar.gz