diff --git a/makefile b/makefile new file mode 100644 index 0000000..1a9ae85 --- /dev/null +++ b/makefile @@ -0,0 +1,109 @@ +# Build a release of tconfpy using 'make' +# $Id: makefile,v 1.100 2006/04/28 21:24:54 tundra Exp $ +# Requires a modern 'make' like GNU. + + +# Uncomment One Of The Following For Early Releases + +#EARLY = Alpha +#EARLY = Beta +#EARLY = RC1 + +##### +# Definitions Relevant To This Program +##### + +PROGNAME = tperimiter + +PORTNAME = ${PROGNAME} + +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 \ + ${PROGNAME}.1.gz + + +##### +# Nothing Should Need To Change Below This Line +##### + + +DIR = ${PORTNAME}-${VERSION} +HEADER1 = "WHATSNEW For '${PROGNAME}' ${VERSION} (`date`)" +HEADER2 = "----------------------------------------------------------------------" +TARBALL = ${DIR}.tar.gz +TMPFILE = tmpfile +VERSION = $(shell rlog -v ${PROGNAME}.py | cut -f 2 -d " ")${EARLY} + + +##### +# Pattern Rules +##### + +%.html: %.1 + @manserver $< >$@ + +%.pdf: %.ps + @gs -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -sOutputFile=$@ $< + +%.ps: %.1 + @groff -man -Tps $< >$@ + +%.ps: %.3 + @groff -man -Tps $< >$@ + +%.py.ps: %.py + @enscript -Epython -fCourier8 -i2 -L77 -C --mark-wrapped-lines=arrow -p$@ $< + +%.txt: %.1 + @groff -man -Tascii $< | col -xb >$@ + +%.txt: %.3 + @groff -man -Tascii $< | col -xb >$@ + +%.1.gz: %.1 + @gzip $< + +%.3.gz: %.3 + @gzip $< + + +##### +# Actual Build Rules +##### + +clean: + @rm -rf ${DIR} ${DOCFILES} ${PORTNAME} ${PROGFILES} ${SUPPFILES} ${TARBALL} ${TMPFILE} *.core *~ + +version: + @echo ${VERSION} + +CHANGELOG.txt: + @rlog ${PROGNAME}.py >CHANGELOG.txt + +WHATSNEW.txt: + @co -l $@ + @printf "%s\n%s\n\n" ${HEADER1} ${HEADER2} | cat - $@ >${TMPFILE} + @mv ${TMPFILE} $@ + @emacs $@ + @ci -m${HEADER1} $@ + @co $@ + +docs: ${DOCFILES} ${SUPPFILES} + @chmod 644 ${DOCFILES} ${SUPPFILES} + @chmod 644 *.gz *.txt + @flip -u *txt + +progs: ${PROGFILES} + chmod 755 ${PROGFILES} + +release: docs progs + @mkdir ${DIR} + @mv ${DOCFILES} ${PROGFILES} ${SUPPFILES} ${DIR} + @tar -czvf ${TARBALL} ${DIR} + @rm -rf ${DIR} + @mv ${DIR}.tar.gz Releases + + diff --git a/tperimeter-license.txt b/tperimeter-license.txt new file mode 100644 index 0000000..117243a --- /dev/null +++ b/tperimeter-license.txt @@ -0,0 +1,106 @@ +$Id: tperimeter-license.txt,v 1.100 2006/04/28 21:24:54 tundra Exp $ + +In order to use, study, modify, or copy 'tperimiter', you must read +and agree to all the licensing terms below. If you do not agree with +or do not understand *ANYTHING* you see in this document, you are NOT +granted a license to use, study, modify, or copy 'tperimiter'. By +using, studying, modifying, or copying 'tperimiter', you are agreeing +to all the terms of the 'tperimiter' LICENSE below in their entirety. + + + 'tperimiter' LICENSE AGREEMENT + + +1) DEFINITIONS + +Throughout this Agreement, the term 'tperimiter' is used to mean: + +Anything included in the 'tperimiter' software distribution package +from TundraWare Inc. This includes scripts, programs, documentation, +license text and all other files provided in that original software +distribution package. + +Throughout this Agreement the term "User" is used to mean any person +who is enagaged in any of the following activities: + + a) Uses any files found in the 'tperimiter' software distribution + in any way. + + b) Reads the 'tperimiter' documentation. + + c) Reads or studies the 'tperimiter' program source code or + supporting files. + + d) Makes use of any part of the 'tperimiter' software distribution + for any purpose. + + e) Duplicates and/or distributes the 'tperimiter' software distribution. + + +2) OWNERSHIP + +'tperimiter' Is Copyright (c) 2006 TundraWare Inc. All Rights Reserved. + + +3) TERMS + +Permission is hereby granted to the User for the duplication and use +of 'tperimiter' so long as ALL the following conditions are met: + + a) There is no license fee for PERSONAL NON-COMMERCIAL use of + 'tperimiter'. This means use by an individual for personal + applications only, with no remuneration of any kind, direct or + indirect, from the use of 'tperimiter'. Voluntary donations + from such users are accepted and encouraged. A donation of + $25 US per user is recommended. Information on how to + contribute can be obtained by contacting + tperimiter@tundraware.com. + + Use of 'tperimiter' in ANY OTHER SITUTATION, including + for-profit organizations, non-profit organizations, + educational institutions, and government organizations, + requires payment of a licensing fee. Contact + tperimiter@tundraware.com for current pricing information. + + + b) The User of 'tperimiter' understands and agrees that this is + EXPERIMENTAL SOFTWARE which is provided "AS-IS" with no + warranties expressed or implied by TundraWare Inc. + + c) The User acknowledges 'tperimiter' has NOT been tested for: + + i) Correct operation + + ii) Freedom from unintended consequences + + iii) Any operation or condition which might cause damage, + compromise, or disruption to the User's or other: + hardware, software, networks, or data, or which might + cause any breach of system security of such systems, + software, and networks. + + d) By using 'tperimiter' in any way, the User does so at their + own risk and agrees to hold TundraWare Inc. harmless for any + damage, direct or indirect, that this software may or does + cause to the User's computational environment, including, but + not limited to, the User's or others' hardware, software, + network, or data. THE USER FURTHER AGREES TO HOLD TUNDRAWARE + INC. HARMLESS FOR ANY ECONOMIC DAMAGE OR ANY OTHER ADVERSE + CONSEQUENCE, DIRECT OR INDIRECT, CAUSED BY THE USE OF + 'tperimiter'. + + e) If duplicated and/or distributed, no fee beyond reasonable + duplication charges may be charged for 'tperimiter'. No + commercial use of 'tperimiter' which involves any + remuneration beyond these duplication charges is permitted. + + f) Any distributed copies of 'tperimiter' must include all the + originally provided software, documentation, and licensing + information in their original distribution format and + packaging without any modifications. + +By using any part or all of 'tperimiter', you are agreeing to be +bound by this license. + +IF YOU DO NOT UNDERSTAND, OR CANNOT ABIDE BY ANY OF THESE CONDITIONS, +DO NOT USE 'tperimiter'.