diff options
author | Ludovic Courtès | 2012-05-29 22:15:32 +0200 |
---|---|---|
committer | Ludovic Courtès | 2012-05-29 22:15:32 +0200 |
commit | d5c78fde59e23979079a8f28e30b857f22eccf78 (patch) | |
tree | fd56c5e4a672ff1188d4e1841768642f68b61156 /configure.ac | |
parent | 5387ab9b13d4bba3c47f4c9fd39848f8b82f9436 (diff) | |
download | skribilo-d5c78fde59e23979079a8f28e30b857f22eccf78.tar.gz skribilo-d5c78fde59e23979079a8f28e30b857f22eccf78.tar.lz skribilo-d5c78fde59e23979079a8f28e30b857f22eccf78.zip |
build: Use Gnulib's `git-version-gen'.
* configure.ac: Use `build-aux/git-version-gen' to generate the version
string. Remove Automake's `check-news' option.
* Makefile.am ($(top_srcdir)/.version, gen-tarball-version): New
targets.
(dist-hook): Depend on `gen-tarball-version'.
(EXTRA_DIST): Add $(top_srcdir)/.version.
* build-aux/git-version-gen: New file, from Gnulib v0.0-6827-g39c3009.
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 9e51c1b..2477b0f 100644 --- a/configure.ac +++ b/configure.ac @@ -2,11 +2,13 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) -AC_INIT(skribilo, 0.9.2, skribilo-users@nongnu.org) +AC_INIT([skribilo], + m4_esyscmd([build-aux/git-version-gen .tarball-version]), + [skribilo-users@nongnu.org]) AC_CONFIG_AUX_DIR(build-aux) AC_CONFIG_MACRO_DIR(m4) -AM_INIT_AUTOMAKE([1.11 gnu no-define check-news readme-alpha \ +AM_INIT_AUTOMAKE([1.11 gnu no-define readme-alpha \ color-tests parallel-tests]) AC_CONFIG_SRCDIR([src/guile/skribilo/reader.scm]) |