diff --git a/makefile b/makefile index be82a58..0138a07 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ # Build a release of tconfpy using 'make' -# $Id: makefile,v 1.105 2005/01/16 10:17:00 tundra Exp $ +# $Id: makefile,v 1.106 2005/01/16 10:32:52 tundra Exp $ # Requires a modern 'make' like GNU. @@ -11,6 +11,7 @@ HEADER1 = "WHATSNEW For '${PROGNAME}' ${VERSION} (`date`)" HEADER2 = "----------------------------------------------------------------------" +TMPFILE = tmpfile PREFIX = py-${PROGNAME} DIR = ${PREFIX}-${VERSION} @@ -64,7 +65,7 @@ ##### clean: - @rm -rf ${DOCFILES} ${PROGFILES} ${SUPPFILES} ${DIR} ${PREFIX}* + @rm -rf ${DOCFILES} ${PROGFILES} ${SUPPFILES} ${DIR} ${PREFIX}* ${TMPFILE} version: @echo ${VERSION} @@ -72,6 +73,14 @@ CHANGELOG.txt: @rlog ${PROGNAME}.py >CHANGELOG.txt +WHATSNEW.txt: + @co -l $@ + @printf "%s\n%s\n\n\n" ${HEADER1} ${HEADER2} | cat - $@ >${TMPFILE} + @mv ${TMPFILE} $@ + @emacs $@ + @ci $@ + @co $@ + docs: ${DOCFILES} ${SUPPFILES} @chmod 644 ${DOCFILES} ${SUPPFILES} @chmod 644 *.gz *.txt