Add a version API to the server so it knows what version it is.

435019
This commit is contained in:
Rob Crittenden
2008-05-08 11:45:38 -04:00
parent 24f43bc846
commit bd9dea888d
9 changed files with 50 additions and 15 deletions

View File

@@ -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