File: rules

package info (click to toggle)
glslang 7.10.2984-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 25,752 kB
  • sloc: cpp: 70,028; yacc: 3,450; sh: 348; python: 85; ansic: 18; makefile: 12
file content (17 lines) | stat: -rwxr-xr-x 432 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f

%:
	dh $@ --builddirectory=build/

override_dh_auto_configure:
	dh_auto_configure -- \
		-DCMAKE_BUILD_TYPE=Release

override_dh_missing:
	dh_missing --fail-missing

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