diff options
author | 2023-04-30 16:59:56 +0200 | |
---|---|---|
committer | 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 | |||
3 | SUBDIRS = src include tools udev | 3 | SUBDIRS = src include tools udev |
4 | 4 | ||
5 | EXTRA_DIST = \ | 5 | EXTRA_DIST = \ |
6 | README.md | 6 | README.md \ |
7 | git-version-gen | ||
8 | |||
9 | dist-hook: | ||
10 | echo $(VERSION) > $(distdir)/.tarball-version | ||
7 | 11 | ||
8 | DISTCHECK_CONFIGURE_FLAGS = \ | 12 | DISTCHECK_CONFIGURE_FLAGS = \ |
9 | --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) | 13 | --with-udevrulesdir=$$dc_install_base/$(udevrulesdir) |