#
# $Log: Makefile,v $
# Revision 1.3  1997/10/09 07:33:37  amn
# Added '-f' switch to FTP archive copy (to overwrite RCS files).
#
# Revision 1.2  1997/10/03 17:31:15  amn
# Changed FTP target directory.
#
# Revision 1.1  1997/10/03 17:22:25  amn
# Initial revision
#

%.html: %.sgml
	sgml2html $*

%.ps: %.sgml
	sgml2latex -o ps $*

%.txt: %.sgml
	sgml2txt -f $*

%.gz: %
	gzip -c -9 $* > $@

%.eps: %.fig
	fig2dev -L ps -p dummy $*.fig $@


NAME = twg97min1

HTMLS = $(NAME).html

PSS = $(NAME).ps $(NAME).ps.gz

TXTS = $(NAME).txt

FILES = $(HTMLS) $(PSS) $(TXTS)


all: files $(NAME).tar.gz

files: $(FILES)

$(NAME).tar: files
	rm -f *~ $(NAME).tex
	tar cvf $(NAME).tar $(NAME).sgml $(NAME).ps $(NAME).txt $(NAME).html $(NAME)-*.html Makefile

ftp: all
	rm -f *~
	cp -afv * /home/ftp/pub/evn
