Add PROG_VERSION_NAME varible auto filling from CVS TAG.

This commit is contained in:
agibert 2005-01-19 23:30:05 +00:00
parent 416ee6de00
commit d1778a5431

View File

@ -1,7 +1,7 @@
# $RCSfile: Makefile.var,v $
# $Revision: 1.3 $
# $Revision: 1.4 $
# $Name: $
# $Date: 2005/01/19 23:02:30 $
# $Date: 2005/01/19 23:30:05 $
# $Author: agibert $
#------------------------------------------------------------------------------
@ -11,7 +11,13 @@
PROG_NAME=libnode
PROG_VERSION_NAME=libnode-2.0.7-1
PROG_TAG=$Name: $
ifeq ($(words $(PROG_TAG)),2)
PROG_VERSION_NAME=$(subst _,.,$(word 2, $(PROG_TAG)))
else
PROG_VERSION_NAME=$(PROG_NAME)
endif
CC=/usr/bin/gcc
AR=/usr/bin/ar