mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
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>
This commit is contained in:
committed by
Martin Babinsky
parent
2725e440bf
commit
c48e5fd811
@@ -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@
|
||||
|
||||
Reference in New Issue
Block a user