Simplified version extraction.
1 parent ad36106 commit 5d4d4859bc9ead8c7aa9487089af9e3cb89ab6e0
@tundra tundra authored on 16 Jan 2005
Showing 1 changed file
View
12
makefile
# Build a release of tconfpy using 'make'
# $Id: makefile,v 1.104 2005/01/16 09:41:04 tundra Exp $
# $Id: makefile,v 1.105 2005/01/16 10:17:00 tundra Exp $
# Requires a modern 'make' like GNU.
 
 
PROGNAME=tconfpy
TESTPROG=test-tc
 
VERSION = $(shell rlog -v ${PROGNAME}.py | python -c"import sys;x=sys.stdin.readlines();print x[0].split()[-1]")
VERSION = $(shell rlog -v ${PROGNAME}.py | cut -f 2 -d " ")
 
HEADER1 = "WHATSNEW For '${PROGNAME}' ${VERSION} (`date`)"
HEADER2 = "----------------------------------------------------------------------"
 
 
PREFIX = py-${PROGNAME}
DIR = ${PREFIX}-${VERSION}
TARBALL = ${DIR}.tar.gz