From bd9dea888d62c6a3cdacecc5356b0b9faff225d6 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 8 May 2008 11:45:38 -0400 Subject: Add a version API to the server so it knows what version it is. 435019 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9e6fb356d..c50b5461a 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,9 @@ version-update: > ipa-server/selinux/ipa-server-selinux.spec sed s/VERSION/$(IPA_VERSION)/ ipa-python/setup.py.in \ > ipa-python/setup.py - + sed s/__VERSION__/$(IPA_VERSION)/ ipa-server/ipaserver/version.py.in \ + > ipa-server/ipaserver/version.py + perl -pi -e "s:__NUM_VERSION__:$(IPA_VERSION_MAJOR)$(IPA_VERSION_MINOR)$(IPA_VERSION_RELEASE):" ipa-server/ipaserver/version.py archive: -mkdir -p dist -- cgit