Code

Define TIG_VERSION as intended when autoconf was introduced
authorJonas Fonseca <fonseca@diku.dk>
Wed, 22 Aug 2007 17:33:40 +0000 (19:33 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Wed, 22 Aug 2007 17:33:40 +0000 (19:33 +0200)
Makefile

index 0ff9e5d03fbba57470b1e8472bb74a536f737832..588d67fe091f0c2ef4d9a1416f2cb582b5ba0e99 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -40,7 +40,7 @@ HTMLDOC = tig.1.html tigrc.5.html manual.html README.html
 ALLDOC = $(MANDOC) $(HTMLDOC) manual.html-chunked manual.pdf
 TARNAME        = tig-$(RPM_VERSION)-$(RPM_RELEASE)
 
-override CFLAGS += '-DVERSION="$(VERSION)"'
+override CFLAGS += '-DTIG_VERSION="$(VERSION)"'
 
 AUTOHEADER ?= autoheader
 AUTOCONF ?= autoconf