Created
June 1, 2020 13:16
-
-
Save ncopa/0d0d9643b1f0b93e5c67d7ea91015655 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dnl XDT_VERSION_INIT(SEMVER, [TAG]) | |
dnl | |
dnl This macro takes care of setting up the version numbering. | |
dnl | |
dnl it will define the following macros based on SEMVER and SUFFIX: | |
dnl | |
dnl - xdt_version_full | |
dnl - xdt_version_major | |
dnl - xdt_version_minor | |
dnl - xdt_version_micro | |
dnl - xdt_version_nano | |
dnl - xdt_version_tag | |
dnl - xdt_version_build | |
dnl - xdt_debug_default | |
dnl | |
dnl If TAG isn't specified, the xdt_version_tag and xdt_version_git | |
dnl will be empty and xdt_debug_default will be set to "minimum", | |
dnl otherwise the xdt_version_build wil contain a git dnl hash and | |
dnl xdt_debug_default will be set to "full" | |
dnl | |
dnl Example usage: | |
dnl | |
dnl XDT_VERSION_INIT([4.15.3],[git]) | |
dnl AC_INIT([xfce4-someproject], [xdt_version_full()]) | |
dnl ... | |
dnl XDT_FEATURE_DEBUG([xdt_debug_default]) | |
dnl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment