From e6860b5e7f8ded96c1769dcff27dffb97587e3e2 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Thu, 4 May 2017 21:54:13 +0200 Subject: build: Use Gnulib's 'git-version-gen'. * Makefile.am (EXTRA_DIST, BUILT_SOURCES): Add $(top_srcdir)/.version. ($(top_srcdir)/.version, gen-tarball-version): New targets. (dist-hook): Depend on 'gen-tarball-version'. (.PHONY): Add 'gen-tarball-version'. * build-aux/git-version-gen: New file, from Gnulib v0.1-1312-ga87d5e5c6. * configure.ac: Use it in 'AC_INIT'. Use 'https' for the URL. --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 1fc22d7e93..cff056a9d7 100644 --- a/.gitignore +++ b/.gitignore @@ -125,3 +125,4 @@ tmp /doc/os-config-lightweight-desktop.texi /nix/scripts/download /etc/indent-code.el +/.version -- cgit v1.2.3