diff --git a/makefile b/makefile index 34a626c..40d8759 100644 --- a/makefile +++ b/makefile @@ -1,5 +1,5 @@ # Build a release of tconfpy using 'make' -# $Id: makefile,v 1.101 2005/03/02 08:37:59 tundra Exp $ +# $Id: makefile,v 1.102 2005/03/02 08:44:36 tundra Exp $ # Requires a modern 'make' like GNU. @@ -17,7 +17,9 @@ PORTNAME = ${PROGNAME} -PROGFILES = ${PROGNAME} ${PROGNAME}.c ${PROGNAME}.py +PROGFILES = ${PROGNAME} ${PROGNAME}.py + +SRCFILES = ${PROGNAME}.c SUPPFILES = ${PROGNAME}-license.txt CHANGELOG.txt Makefile READ-1ST.txt WHATSNEW.txt setup.py @@ -75,7 +77,7 @@ ##### clean: - @rm -rf ${DIR} ${DOCFILES} ${PORTNAME} ${PROGFILES} ${SUPPFILES} ${TARBALL} ${TMPFILE} + @rm -f ${DIR} ${DOCFILES} ${PORTNAME} ${PROGFILES} ${SRCFILES} ${SUPPFILES} ${TARBALL} ${TMPFILE} *.core *~ version: @echo ${VERSION} @@ -99,12 +101,15 @@ ${PROGNAME}: ${PROGNAME}.c cc -o $@ $< +src: ${SRCFILES} + chmod 644 ${SRCFILES} + progs: ${PROGFILES} chmod 750 ${PROGFILES} -release: docs progs +release: docs progs src @mkdir ${DIR} - @mv ${DOCFILES} ${PROGFILES} ${SUPPFILES} ${DIR} + @mv ${DOCFILES} ${PROGFILES} ${SRCFILES} ${SUPPFILES} ${DIR} @tar -czvf ${TARBALL} ${DIR} @rm -rf ${DIR} @mv ${DIR}.tar.gz Releases