From 1dba61a67063fac2c6f02dc31ab84e61ff279617 Mon Sep 17 00:00:00 2001 From: Uoti Urpala Date: Mon, 23 Nov 2009 05:40:52 +0200 Subject: build: Generate version numbers for git Update the version.sh script for git so it'll generate version numbers more useful than "UNKNOWN". At the moment it only generates the short SHA1 name, but adding a tag as a starting point should allow more useful output. Rather than update the Makefile logic that tried to guess whether the svn revision had changed since the last version.h update, just run the version.sh script from configure so the version is updated at least at that time. --- Makefile | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 005a721b48..b50448a1be 100644 --- a/Makefile +++ b/Makefile @@ -768,10 +768,6 @@ config.mak: configure help_mp.h: help/help_mp-en.h $(HELP_FILE) help/help_create.sh $(HELP_FILE) $(CHARSET) -# rebuild version.h each time the working copy is updated -ifeq ($(wildcard .svn/entries),.svn/entries) -version.h: .svn/entries -endif version.h: version.sh ./$< `$(CC) -dumpversion` -- cgit v1.2.3