File: rules

package info (click to toggle)
tinyexr 1.0.10%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,184 kB
  • sloc: cpp: 12,561; makefile: 110; sh: 18; ansic: 15
file content (19 lines) | stat: -rwxr-xr-x 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=+all future=+lfs


TINYEXR_VERSION := $(shell echo $(DEB_VERSION_UPSTREAM) | sed -e 's/\+d.*$$//')
TINYEXR_SOVERSION := 1d

%:
	dh $@ --buildsystem=cmake


override_dh_auto_configure:
	dh_auto_configure --buildsystem=cmake -- \
		-DTINYEXR_VERSION=$(TINYEXR_VERSION) \
		-DTINYEXR_SOVERSION=$(TINYEXR_SOVERSION)