diff --git a/makefile b/makefile index da04dc3..64796cf 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ # Build a release of tconfpy using 'make' -# $Id: makefile,v 1.106 2012/05/26 00:01:38 tundra Exp $ +# $Id: makefile,v 1.107 2012/05/29 14:18:43 tundra Exp $ # Requires a modern 'make' like GNU. @@ -33,9 +33,11 @@ DIR = ${PORTNAME}-${VERSION} HEADER1 = "WHATSNEW For '${PROGNAME}' ${VERSION} (`date`)" HEADER2 = "----------------------------------------------------------------------" +RELDIR = "Releases" TARBALL = ${DIR}.tar.gz TMPFILE = tmpfile -VERSION = $(shell cvs log ${PROGNAME}.py | grep head | cut -f 2 -d " ")${EARLY} +VERSION = $(shell grep '$Id: makefile,v 1.107 2012/05/29 14:18:43 tundra Exp ${PROGNAME}.py | cut -f 5 -d " ")${EARLY} + ##### @@ -103,6 +105,7 @@ @mv ${DOCFILES} ${PROGFILES} ${SRCFILES} ${SUPPFILES} ${DIR} @tar -czvf ${TARBALL} ${DIR} @rm -rf ${DIR} - @mv ${DIR}.tar.gz Releases + @mkdir ${RELDIR} + @mv ${DIR}.tar.gz ${RELDIR}