summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2022-02-10 04:29:50 +0100
committerGravatar Nikias Bassen2022-02-10 04:29:50 +0100
commitd993f313af7748ba010fe005f9b2bb66fe1d9142 (patch)
tree55e92fd194ab6269a77752bfc5ad68be4d8ee614
parent064fcbf0e7ab9d620567877ee42da043281d2906 (diff)
downloadlibusbmuxd-d993f313af7748ba010fe005f9b2bb66fe1d9142.tar.gz
libusbmuxd-d993f313af7748ba010fe005f9b2bb66fe1d9142.tar.bz2
automake: Add git-version-gen to EXTRA_DIST and add .tarball-version hook
-rw-r--r--Makefile.am6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 12940a1..5ca15d0 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,4 +3,8 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src include tools docs
EXTRA_DIST = \
- README.md
+ README.md \
+ git-version-gen
+
+dist-hook:
+ echo $(VERSION) > $(distdir)/.tarball-version