commit 3d66be28e615d64a4950ab3a8e4d197f9bdd7120 from: leo date: Sat Sep 11 13:45:48 1999 UTC The makefile now creates tagged archives for different versions of the JDK. A readme was added. commit - 457f613fd240e0908135a4f2b13473547876ad50 commit + 3d66be28e615d64a4950ab3a8e4d197f9bdd7120 blob - 0fa0b1f941eb6fb8ca0ef8e41bc719994cf5913c blob + 29a9ab973473e9a32e00911a74fad8300a4094e9 --- Makefile +++ Makefile @@ -1,10 +1,29 @@ +# This file is part of "The Java Telnet Application". +# +# This is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# "The Java Telnet Application" is distributed in the hope that it will be +# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this software; see the file COPYING. If not, write to the +# Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + JAVA = java JAR = jar JAVAC = javac DEBUG = -g -deprecation JFLAGS = -classpath $(CLASSPATH):. SRCDIR = de -PKGNAME = telnet-v20 +PKGNAME = jta20 +VERSION = `java -version 2>&1 | head -1 | \ + sed 's/^java version //' | sed 's/"//g'` .SUFFIXES: .java .class @@ -16,27 +35,32 @@ PKGNAME = telnet-v20 # major rules to create files # all: app doc jar - + doc: app -mkdir doc - javadoc -d doc -version -author \ + -rm -r doc/*.html doc/de + javadoc -d doc -version -author -sourcepath $(CLASSPATH):. \ `find de/mud -type d -print | \ - grep -v CVS | grep -v '^de/mud$$' | sed 's/\//./g'` + grep -v CVS | grep -v '^de/mud$$' | sed 's/\//./g'`; \ + + run: app $(JAVA) $(JFLAGS) de.mud.jta.Main jar: app + @echo Version: $(VERSION) -mkdir jar - $(JAR) cvf jar/jta.jar `find $(SRCDIR) -name *.class` \ + $(JAR) cvf jar/$(PKGNAME)-`date +%Y%m%d`-$(VERSION).jar \ + `find $(SRCDIR) -name *.class` \ `find $(SRCDIR) -name defaults.\*` -dist: clean doc revision changes +dist: clean jar doc revision changes -mkdir jar (cvs -Q -d $(CVSROOT) export -D now -d $(PKGNAME) telnet && \ /bin/cp REVISION CHANGES $(PKGNAME)/ && \ /bin/cp -r doc $(PKGNAME)/ && \ - $(JAR) cvMf jar/jta-20-source.jar $(PKGNAME) && \ + $(JAR) cvMf jar/$(PKGNAME)-`date +%Y%m%d`-src.jar $(PKGNAME) && \ rm -rf $(PKGNAME)) changes: blob - /dev/null blob + 458d30c6de7038a9eb1f54659f4a6630b01a1840 (mode 644) --- /dev/null +++ README @@ -0,0 +1,63 @@ +The Java(tm) Telnet Application +=============================== + +Please make sure you read and understood the documentation that comes +with this software. The documentation explains about the most common +problems encountered and contains information about the license this +software is covered by. By using this software you agree to the terms +and conditions laid down in the license. For a quick start the license +is provided in the "license" directory in text format. + +As it seems there are situations where people cannot agree to the license. +Please contact us to discuss the terms and conditions for a commercial +license. Use the address mentioned at the bottom of the file. + +The most current version of the software can always be found at: + + http://www.mud.de/se/jta/ + +The directories and files contained in the distribution contain the +following information: + +README + You are currently reading this file. +REVISION + Contains a list of source files and their respective revision + number. This may be useful to find our which files have + changed since you last updated the software. +CHANGES + This file contains all the comments for the changes made to + the source files. +bin/ + Contains scripts and additional helper programs. +de/ + This is the root package name for the software. It contains + all Java related source files. +doc/ + The documentation for the source is contained herein. +jar/ + Using the make file to compile the source and building jar + files will result in the packages to be stored in that + directory. +license/ + Contains the license this software is covered by in text format. + +We provide this software with confidence that is useful. If you feel that +you would like to repay the authors you may do so by either sending a +postcard or whatever you think is appropriate to either Matthias or Marcus. +The mail address can be achieved by sending an email to either leo@mud.de +or marcus@mud.de or both. + +Quite a lot of people have helped us to debug the software and make it +better by giving us new ideas to implement. If you feel that an important +feature is missing do not hesitate to contact us. We thank all those +who have already done so. + +Thank you for using the software. + + Matthias L. Jugel, Marcus Meißner + +Contact: + Matthias L. Jugel | Marcus Meißner + leo@mud.de | marcus@mud.de + http://www.mud.de/~leo/ | http://www.mud.de/~marcus/