Added housekeeping targets from new, standard makefile template.
1 parent 7471ffa commit 02963eb87f9f7ceea2daf1987921d1ab680c63ef
@tundra tundra authored on 9 Jun 2012
Showing 1 changed file
View
24
makefile
# Build a release of tconfpy using 'make'
# $Id: makefile,v 1.114 2012/06/09 19:08:15 tundra Exp $
# $Id: makefile,v 1.115 2012/06/09 19:22:59 tundra Exp $
# Requires a modern 'make' like GNU.
 
# Uncomment One Of The Following For Early Releases
 
#####
 
FORCE:
 
clean:
@rm -rf ${DIR} ${DOCFILES} ${PORTNAME} ${PROGFILES} ${SUPPFILES} ${TARBALL} ${TMPFILE} ${PROGNAME}.3 ${TESTPROG}.1 *.pyc *~
 
version:
@echo ${VERSION}
 
CHANGELOG.txt: FORCE
@cvs log ${PROGNAME}.py >CHANGELOG.txt
 
WHATSNEW.txt: FORCE
@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