Introduce a script to auto-generate version strings. Use `git describe` to create descriptive version strings when building from a Git checkout, use ".version" files for release tarballs. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
14 lines
213 B
Makefile
14 lines
213 B
Makefile
AUTOMAKE_OPTIONS= foreign
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
SUBDIRS = doc po src
|
|
|
|
EXTRA_DIST = \
|
|
INSTALL \
|
|
ABOUT-NLS
|
|
|
|
BUILT_SOURCES = $(top_srcdir)/.version
|
|
$(top_srcdir)/.version:
|
|
echo $(VERSION) > $@-t && mv $@-t $@
|