diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2017-05-04 21:54:13 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2017-05-04 23:51:45 +0200 |
| commit | e6860b5e7f8ded96c1769dcff27dffb97587e3e2 (patch) | |
| tree | 41614d3cfbd0b03e542fac022b441ff6d87b2467 /configure.ac | |
| parent | 1d1ddf26d5c11aa732ccad4808d4c2d3424ff944 (diff) | |
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.
Diffstat (limited to 'configure.ac')
| -rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 2b4620c44b6..dc3d8f377f7 100644 --- a/configure.ac +++ b/configure.ac | |||
| @@ -2,8 +2,10 @@ | |||
| 2 | # Process this file with autoconf to produce a configure script. | 2 | # Process this file with autoconf to produce a configure script. |
| 3 | 3 | ||
| 4 | AC_PREREQ(2.68) | 4 | AC_PREREQ(2.68) |
| 5 | AC_INIT([GNU Guix], [0.12.0], [bug-guix@gnu.org], [guix], | 5 | AC_INIT([GNU Guix], |
| 6 | [http://www.gnu.org/software/guix/]) | 6 | [m4_esyscmd([build-aux/git-version-gen .tarball-version])], |
| 7 | [bug-guix@gnu.org], [guix], | ||
| 8 | [https://www.gnu.org/software/guix/]) | ||
| 7 | AC_CONFIG_AUX_DIR([build-aux]) | 9 | AC_CONFIG_AUX_DIR([build-aux]) |
| 8 | 10 | ||
| 9 | AM_INIT_AUTOMAKE([1.12 gnu silent-rules subdir-objects \ | 11 | AM_INIT_AUTOMAKE([1.12 gnu silent-rules subdir-objects \ |
