Commit 1e1ab1875895b432966686402ac3debd2b384256

Guillem Jover 2008-07-12T06:35:45

Define a LIB_VERSION variable

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/Makefile b/Makefile
index 30a7ed9..a9008e8 100644
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,9 @@
 LIB_NAME = libbsd
 LIB_VERSION_MAJOR = 0
 LIB_VERSION_MINOR = 0
+LIB_VERSION := $(LIB_VERSION_MAJOR).$(LIB_VERSION_MINOR)
 
-TAR_NAME = $(LIB_NAME)-$(LIB_VERSION_MAJOR).$(LIB_VERSION_MINOR)
+TAR_NAME := $(LIB_NAME)-$(LIB_VERSION)
 TAR_FILE := $(TAR_NAME).tar.gz
 
 LIB_DIST := Makefile Versions libbsd.pc