From 3c6cac5e14046c3665f5d294b8846aac7c546062 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 22 Dec 2018 21:42:43 -0500 Subject: configure.ac, Makefile.am: Set PACKAGE_VERSION_GIT --- (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 76d8f2c..d2e114f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -22,6 +22,12 @@ include $(top_srcdir)/man/local.mk include $(top_srcdir)/locale/local.mk include $(top_srcdir)/tests/local.mk +if IN_GIT +PACKAGE_VERSION_GIT = $$(git describe --tags --dirty | sed 's|^.*/||') +else +PACKAGE_VERSION_GIT = $(PACKAGE_VERSION) +endif + MANUAL = Distribution Build System SHSOEXT = .shso -- cgit v0.9.1