X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=Makefile.am;fp=Makefile.am;h=9c245616ebc8e0ad4b1ac1483e7f32e236062548;hb=b109e8b16488f9bbfdc4aefe0e9b00c4f202e905;hp=0a4faef3b381a31340553b815f35c9a16de59341;hpb=1c77069064e0cf0e0ddd81bab1b1354a8952fb33;p=tinc diff --git a/Makefile.am b/Makefile.am index 0a4faef3..9c245616 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,6 +8,14 @@ ACLOCAL_AMFLAGS = -I m4 EXTRA_DIST = COPYING.README README.android +# If git describe works, force autoconf to run in order to make sure we have the +# current version number from git in the resulting configure script. +configure-version: + -git describe && autoconf --force + +# Triggering the README target means we are building a distribution (make dist). +README: configure-version + ChangeLog: git log > ChangeLog