]> git.saurik.com Git - apt.git/blame - buildlib/libversion.mak
Add statvfs.h.in to CMake directory
[apt.git] / buildlib / libversion.mak
CommitLineData
23d84658
DK
1# -*- make -*-
2# Version number of libapt-pkg.
3# Please increase MAJOR with each ABI break,
4# with each non-ABI break to the lib, please increase RELEASE.
54298f49
DK
5# The versionnumber is extracted from apt-pkg/macros.h - see also there.
6LIBAPTPKG_MAJOR=$(shell awk -v ORS='.' '/^\#define APT_PKG_M/ {print $$3}' $(BASE)/apt-pkg/contrib/macros.h | sed 's/\.$$//')
ad42ed46 7LIBAPTPKG_RELEASE=$(shell grep '^\#define APT_PKG_RELEASE' $(BASE)/apt-pkg/contrib/macros.h | cut -d ' ' -f 3)
23d84658
DK
8
9# Version number of libapt-inst
10# Please increase MAJOR with each ABI break,
11# with each non-ABI break to the lib, please increase MINOR.
12# The versionnumber is extracted from apt-inst/makefile - see also there.
ad42ed46
DH
13LIBAPTINST_MAJOR=$(shell grep '^MAJOR=' $(BASE)/apt-inst/makefile |cut -d '=' -f 2)
14LIBAPTINST_MINOR=$(shell grep '^MINOR=' $(BASE)/apt-inst/makefile |cut -d '=' -f 2)