diff options
author | Nikias Bassen | 2023-04-30 16:59:56 +0200 |
---|---|---|
committer | Nikias Bassen | 2023-04-30 16:59:56 +0200 |
commit | 1d20bed9ab853507b013e0ab0fdfa11be393d1e0 (patch) | |
tree | b13932784a2e01026bf719f8a2f076f8ae95acc9 /Makefile.am | |
parent | 462e238de4553532ade7eb88ef86905c04fc7bb7 (diff) | |
download | libirecovery-1d20bed9ab853507b013e0ab0fdfa11be393d1e0.tar.gz libirecovery-1d20bed9ab853507b013e0ab0fdfa11be393d1e0.tar.bz2 |
autoconf: Automatically derive version number from latest git tag
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 4a61e83..6c48faf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,7 +3,11 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = src include tools udev EXTRA_DIST = \ - README.md + README.md \ + git-version-gen + +dist-hook: + echo $(VERSION) > $(distdir)/.tarball-version DISTCHECK_CONFIGURE_FLAGS = \ --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) |