diff --git a/makefile b/makefile index c60c4a9..5300682 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ # Build a release of tconfpy using 'make' -# $Id: makefile,v 1.112 2005/02/02 23:55:47 tundra Exp $ +# $Id: makefile,v 1.113 2012/06/09 18:49:09 tundra Exp $ # Requires a modern 'make' like GNU. # Uncomment One Of The Following For Early Releases @@ -36,7 +36,7 @@ HEADER2 = "----------------------------------------------------------------------" TARBALL = ${DIR}.tar.gz TMPFILE = tmpfile -VERSION = $(shell rlog -v ${PROGNAME}.py | cut -f 2 -d " ")${EARLY} +VERSION = $(shell cvs log ${PROGNAME}.py | grep ^head\: | cut -f2 -d " ")${EARLY} ##### @@ -85,15 +85,13 @@ @echo ${VERSION} CHANGELOG.txt: - @rlog ${PROGNAME}.py >CHANGELOG.txt + @cvs log ${PROGNAME}.py >CHANGELOG.txt WHATSNEW.txt: - @co -l $@ @printf "%s\n%s\n\n" ${HEADER1} ${HEADER2} | cat - $@ >${TMPFILE} @mv ${TMPFILE} $@ - @emacs $@ - @ci $@ - @co $@ + @emacs -nw $@ + @cvs commit -m${HEADER1} $@ docs: ${DOCFILES} ${SUPPFILES} @chmod 644 ${DOCFILES} ${SUPPFILES}