diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2020-06-01 17:29:37 +0200 |
---|---|---|
committer | Romain Bouvier <skunnyk@alteroot.org> | 2020-06-04 19:54:45 +0200 |
commit | caed69490485466132348afe283a2e80ab371ed1 (patch) | |
tree | 7b990e85eaf4cae5894a79ff7a7507c38a6511a9 /scripts | |
parent | e19cc0f79b3a577ef1e3ab1220c47ed640362a6e (diff) | |
download | xfce4-dev-tools-caed69490485466132348afe283a2e80ab371ed1.tar.gz |
Implement XDT_VERSION_INIT
Add an XDT_VERSION_INIT help macro that will define a set of version
macros using esyscmd so we no lnger need to use configure.ac.in to
perpare the version string for AC_INIT.
XDT_VERSION_INIT(SEMVER, [TAG] will set the following macros:
- xdt_version
- xdt_version_major
- xdt_version_minor
- xdt_version_micro
- xdt_version_tag
- xdt_version_build
- xdt_debug_default
Example usage:
XDT_VERSION_INIT([4.15.3],[git])
AC_INIT([xfce4-someproject], [xdt_version()])
...
XDT_FEATURE_DEBUG([xdt_debug_default])
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/xdt-autogen.in.in | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/xdt-autogen.in.in b/scripts/xdt-autogen.in.in index ef4c35e..7bcd60c 100644 --- a/scripts/xdt-autogen.in.in +++ b/scripts/xdt-autogen.in.in @@ -27,7 +27,6 @@ VERSION="@VERSION@" XDT_AUTOGEN_VERSION_MAJOR="@VERSION_MAJOR@" XDT_AUTOGEN_VERSION_MINOR="@VERSION_MINOR@" XDT_AUTOGEN_VERSION_MICRO="@VERSION_MICRO@" -XDT_AUTOGEN_VERSION_NANO="@VERSION_NANO@" XDT_AUTOGEN_VERSION_REVISION="@VERSION_REVISION@" |