diff --git a/makefile b/makefile index 8c9b66c..e41b6a4 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ # Build a release of twander using 'make' -# $Id: makefile,v 1.103 2005/02/02 22:31:59 tundra Exp $ +# $Id: makefile,v 1.104 2005/02/02 22:41:09 tundra Exp $ ##### @@ -12,7 +12,7 @@ PROGFILES = ${PROGNAME}.py -SUPPFILES = .${PROGNAME} ${PROGNAME}-license.txt CHANGELOG.txt Makefile READ-1ST.txt WHATSNEW.txt +SUPPFILES = ${PROGNAME}.pyo .${PROGNAME} ${PROGNAME}-license.txt CHANGELOG.txt Makefile READ-1ST.txt WHATSNEW.txt DOCFILES = ${PROGNAME}.html ${PROGNAME}.pdf ${PROGNAME}.ps ${PROGNAME}.py.ps ${PROGNAME}.txt ${PROGNAME}.1.gz @@ -96,8 +96,9 @@ release: docs progs @mkdir ${DIR} + @python -OOOO -c"import compileall; compileall.compile_dir('./')" @mv ${DOCFILES} ${PROGFILES} ${SUPPFILES} ${DIR} @tar -czvf ${TARBALL} ${DIR} -# @rm -rf ${DIR} + @rm -rf ${DIR} # @mv ${DIR}.tar.gz Releases