diff --git a/makefile b/makefile index fa0022c..699f85b 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ # Build a release of 'pystat' using 'make' -# $Id: makefile,v 1.101 2012/06/09 19:18:49 tundra Exp $ +# $Id: makefile,v 1.102 2012/06/09 19:21:38 tundra Exp $ # Requires a modern 'make' like GNU. @@ -117,10 +117,6 @@ @emacs -nw $@ @cvs commit -m${HEADER1} $@ -clean: - @rm -rf ${DIR} ${DOCFILES} ${PORTNAME} ${PROGFILES} ${DOCSOURCES} ${TARBALL} ${TMPFILE} \ - *.1 *.aux *.dvi *.log *.out *.core *~ - docs: ${DOCSOURCES} ${DOCFILES} @chmod 644 ${DOCFILES} ${DOCSOURCES} @chmod 644 *.gz *.txt @@ -137,5 +133,20 @@ @mkdir Releases @mv ${DIR}.tar.gz Releases + +##### +# Housekeeping +##### + +clean: + @rm -rf *~ *.1 *.1.gz *.aux *.core *.dvi *.latex *.log *.out tmpfile *.toc + version: @echo ${VERSION} + +scrub: clean + @rm -rf ${DIR} ${PROGFILES} ${DOCS} ${PROGDOCS} ${TARBALL} ${TMPFILE} + +init: scrub + cvs update +