File: rules

package info (click to toggle)
valabind 1.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 520 kB
  • sloc: sh: 671; makefile: 171; ansic: 87; python: 72; java: 68; cs: 10; cpp: 8; perl: 6; ruby: 5
file content (14 lines) | stat: -rwxr-xr-x 481 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

# libvalaccodegen is a private library from valac, which is used by
# valabind. dpkg-shlibdeps does not pick up the dependency because
# the library is unversioned. This is a workaround to add the
# dependency, since upstream does not want to make the ABI stable.
VALA_VERSION := $(shell valac --api-version)
SUBSTVARS = -Vlibvalaccodegen="libvalacodegen-${VALA_VERSION}-0"

%:
	dh $@ --buildsystem=meson

override_dh_gencontrol:
	dh_gencontrol -- $(SUBSTVARS)