summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-01-25 03:43:52 +0100
committerGravatar Nikias Bassen2022-01-25 03:43:52 +0100
commit323009bfd003ff1540967b7b67efebab1ee8693d (patch)
tree5e01fc1900db29d1d07ceb66e9958d94d3160f19 /Makefile.am
parent17da5ba554426d732fc850e7211bae7d3a7c016e (diff)
downloadlibplist-323009bfd003ff1540967b7b67efebab1ee8693d.tar.gz
libplist-323009bfd003ff1540967b7b67efebab1ee8693d.tar.bz2
autoconf: Automatically derive version number from latest git tag
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 4d21b65..84b196d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -11,7 +11,11 @@ SUBDIRS += fuzz
endif
EXTRA_DIST = \
- README.md
+ README.md \
+ git-version-gen
+
+dist-hook:
+ echo $(VERSION) > $(distdir)/.tarball-version
docs/html: $(top_builddir)/doxygen.cfg $(top_srcdir)/include/plist/*.h
rm -rf docs/html