summaryrefslogtreecommitdiff
path: root/methods/makefile
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2009-10-28 19:13:56 +0100
committerDavid Kalnischkies <kalnischkies@gmail.com>2009-10-28 19:13:56 +0100
commit23d8465817e7bc0d188f36fc2ad14f41ff01c221 (patch)
tree29f65f669e430c701971d946cd6b71c480b3a02a /methods/makefile
parent10c9f030e02ccec5c002abc42776f994c124c574 (diff)
refactor the buildsystem to extract library versions from one file,
so it is not needed to change x-files to just increase a version number (because this is far to easy to forget one of the files, which will not result in failures or is bad in general, but is inconsitent.)
Diffstat (limited to 'methods/makefile')
-rw-r--r--methods/makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/methods/makefile b/methods/makefile
index f5d80d839..7bcae6b9b 100644
--- a/methods/makefile
+++ b/methods/makefile
@@ -6,9 +6,8 @@ SUBDIR=methods
include ../buildlib/defaults.mak
BIN := $(BIN)/methods
-# FIXME..
-LIB_APT_PKG_MAJOR = 4.9
-APT_DOMAIN := libapt-pkg$(LIB_APT_PKG_MAJOR)
+include ../buildlib/libversion.mak
+APT_DOMAIN := libapt-pkg$(LIBAPTPKG_MAJOR)
# The file method
PROGRAM=file