From c5e4187590f37e9524a8e3fcb2bccb20f2e8b4eb Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 18 Apr 2011 17:45:50 +0200 Subject: Add Git version string support. 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 --- Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index b37844b..3052b72 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,3 +7,7 @@ SUBDIRS = doc po src EXTRA_DIST = \ INSTALL \ ABOUT-NLS + +BUILT_SOURCES = $(top_srcdir)/.version +$(top_srcdir)/.version: + echo $(VERSION) > $@-t && mv $@-t $@ -- cgit v1.2.3