File: buildapi.mk

package info (click to toggle)
dpkg 1.23.3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 59,056 kB
  • sloc: ansic: 40,197; perl: 30,221; sh: 18,907; cpp: 6,054; makefile: 5,222; sed: 127
file content (16 lines) | stat: -rw-r--r-- 515 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This Makefile fragment (since dpkg 1.22.0) defines the DPKG_BUILD_API
# variable, that contains the package dpkg-build-api(7) level.
#
# Note:
# - Only documented variables are considered public interfaces.
# - Expects to be included from the source tree root directory.

ifndef dpkg_buildapi_mk_included
dpkg_buildapi_mk_included = yes

# Default API level when not set.
DPKG_BUILD_API ?= $(shell dpkg-buildapi)

dpkg_build_api_ge = $(intcmp $(DPKG_BUILD_API),$(1),no,yes,yes)

endif # dpkg_buildapi_mk_included