Skip to content
Snippets Groups Projects
Commit 2f6936bd authored by Nico Huber's avatar Nico Huber
Browse files

util/getversion,meson: Add script to allow version info with Meson


Add `util/getversion.sh` that retrieves version information from a
`versioninfo.inc` (what we use for releases) if present or uses
`util/getrevision.sh` if not.

Let Meson use it for flashrom's version. It seems Meson doesn't
generate the manual page at all, so the `--man-date` command is
currently unused.

Change-Id: I401e5638509c4a573bc0cb17ebc5fa76df9700b5
Signed-off-by: default avatarNico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/35561


Tested-by: default avatarbuild bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: default avatarMario Limonciello <superm1@gmail.com>
Reviewed-by: default avatarRichard Hughes <hughsient@gmail.com>
Reviewed-by: default avatarDavid Hendricks <david.hendricks@gmail.com>
Reviewed-by: default avatarAngel Pons <th3fanbus@gmail.com>
parent b863127a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment