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 /m4macros/Makefile.am | |
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 'm4macros/Makefile.am')
-rw-r--r-- | m4macros/Makefile.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/m4macros/Makefile.am b/m4macros/Makefile.am index caa4316..51d473d 100644 --- a/m4macros/Makefile.am +++ b/m4macros/Makefile.am @@ -8,7 +8,8 @@ macrodir = $(datadir)/xfce4/dev-tools/m4macros macro_DATA = \ xdt-depends.m4 \ xdt-features.m4 \ - xdt-i18n.m4 + xdt-i18n.m4 \ + xdt-version.m4 EXTRA_DIST = \ $(macro_DATA) |