summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2016-10-21 22:35:28 +0200
committerMartin Babinsky <mbabinsk@redhat.com>2016-11-09 13:08:32 +0100
commitc48e5fd811326dc64e19490f88003e442815a052 (patch)
treee63d94b25d76b643dc05d6e2da2e9daef7438b40 /daemons
parent2725e440bf1e4930f9b1d19223424bcb0d4b7066 (diff)
downloadfreeipa-c48e5fd811326dc64e19490f88003e442815a052.tar.gz
freeipa-c48e5fd811326dc64e19490f88003e442815a052.tar.xz
freeipa-c48e5fd811326dc64e19490f88003e442815a052.zip
Build: move version handling from Makefile to configure
Version information is now in VERSION.m4 instead of VERSION. Makefile target version-update was minimized and configure can be run before make. Makefile temporarily contains hardcoded version which has to match the one specified in VERSION.m4. This is preparatory step which will allow us to replace hand-made Makefile with one generated by Automake. https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
Diffstat (limited to 'daemons')
-rw-r--r--daemons/ipa-version.h.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/daemons/ipa-version.h.in b/daemons/ipa-version.h.in
index 3a475414e..4ab6b95a0 100644
--- a/daemons/ipa-version.h.in
+++ b/daemons/ipa-version.h.in
@@ -35,14 +35,14 @@
* END COPYRIGHT BLOCK **/
/* The full version including strings */
-#define VERSION "__VERSION__"
+#define VERSION "@VERSION@"
/* Just the numeric portion of the version so one can do direct numeric
comparisons to see if the API is compatible.
*/
-#define NUM_VERSION __NUM_VERSION__
+#define NUM_VERSION @NUM_VERSION@
/* The data version. This is distinguished from the server version based
on the compatibility of the data/plugins/etc from one version to another.
*/
-#define DATA_VERSION __DATA_VERSION__
+#define DATA_VERSION @DATA_VERSION@