File: rules

package info (click to toggle)
woff2 1.0.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 380 kB
  • sloc: cpp: 3,615; makefile: 55; ansic: 36
file content (16 lines) | stat: -rwxr-xr-x 376 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed

VERSION_MINOR = $(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | \
			cut -d. -f1,2).0

%:
	dh $@ --buildsystem=cmake

override_dh_makeshlibs:
	dh_makeshlibs -V'libwoff1 (>= $(VERSION_MINOR))' -- -c4

override_dh_missing:
	dh_missing --fail-missing