File: rules

package info (click to toggle)
weston 1.12.0-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 6,704 kB
  • ctags: 9,865
  • sloc: ansic: 88,078; sh: 11,519; makefile: 1,294; xml: 400
file content (27 lines) | stat: -rwxr-xr-x 804 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
#!/usr/bin/make -f

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

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-1/ -- -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