Backed out C code from distribution.
1 parent 28c95c0 commit 3e1708961ba68a7152749d05c75659fc2991b7a9
@tundra tundra authored on 2 Mar 2005
Showing 1 changed file
View
17
makefile
# Build a release of tconfpy using 'make'
# $Id: makefile,v 1.104 2005/03/02 09:08:54 tundra Exp $
# $Id: makefile,v 1.105 2005/03/02 11:18:56 tundra Exp $
# Requires a modern 'make' like GNU.
 
 
# Uncomment One Of The Following For Early Releases
PROGNAME = validate-upg
 
PORTNAME = ${PROGNAME}
 
PROGFILES = ${PROGNAME} ${PROGNAME}.py
 
SRCFILES = ${PROGNAME}.c
PROGFILES = ${PROGNAME}.py
 
SUPPFILES = ${PROGNAME}-license.txt CHANGELOG.txt Makefile READ-1ST.txt WHATSNEW.txt setup.py
 
DOCFILES = ${PROGNAME}.html ${PROGNAME}.pdf ${PROGNAME}.ps ${PROGNAME}.py.ps ${PROGNAME}.txt \
@echo ${VERSION}
 
CHANGELOG.txt:
@rlog ${PROGNAME}.py >CHANGELOG.txt
@rlog ${PROGNAME}.c >>CHANGELOG.txt
 
WHATSNEW.txt:
@co -l $@
@printf "%s\n%s\n\n" ${HEADER1} ${HEADER2} | cat - $@ >${TMPFILE}
@chmod 644 ${DOCFILES} ${SUPPFILES}
@chmod 644 *.gz *.txt
@flip -u *txt
 
${PROGNAME}: ${PROGNAME}.c
cc -o $@ $<
 
src: ${SRCFILES}
chmod 644 ${SRCFILES}
 
progs: ${PROGFILES}
chmod 750 ${PROGFILES}
 
release: docs progs src
release: docs progs
@mkdir ${DIR}
@mv ${DOCFILES} ${PROGFILES} ${SRCFILES} ${SUPPFILES} ${DIR}
@tar -czvf ${TARBALL} ${DIR}
@rm -rf ${DIR}