File: rules

package info (click to toggle)
spirv-headers 1.3%2Bgit20190113-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,380 kB
  • sloc: cpp: 10,275; ansic: 4,291; cs: 3,898; python: 3,726; xml: 39; makefile: 9; sh: 3
file content (14 lines) | stat: -rwxr-xr-x 338 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

%:
	dh $@ 

override_dh_auto_configure:
override_dh_auto_build:

gentarball: SOURCE=spirv-headers
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