#
# Makefile for the OMEGA HOWTO
#
# Copyright (C) 2000,2001 Heimo Schn <heimo.schoen@gmx.at>
#
# This program 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.
#
# This program 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 program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#


OPT = --charset=latin --language=de --papersize=a4

all: omega-howto.html omega-howto.ps omega-howto.txt omega-howto-html.tgz omega-howto.tgz
        # Verffentlichen der Compilate und Scripts
	scp omega*              schoen@elina.htlw16.ac.at:public_html
	scp *.gif               schoen@elina.htlw16.ac.at:public_html
	scp OMEGA-HOWTO.html    schoen@elina.htlw16.ac.at:public_html
	scp omega*              pc104-1:/home/heimo/public_html
	scp *.gif               pc104-1:/home/heimo/public_html
	scp OMEGA-HOWTO.html    pc104-1:/home/heimo/public_html

html: omega-howto.html

omega-howto.html: omega-howto.sgml
	sgml2html --language=deutsch -s 1  ${OPT} --imagebuttons omega-howto.sgml

omega-howto.ps: omega-howto.sgml
	sgml2latex  --language=deutsch --output=ps  ${OPT} omega-howto.sgml
	sgml2latex  --language=deutsch --output=dvi ${OPT} omega-howto.sgml
	sgml2latex  --language=deutsch --output=tex ${OPT} omega-howto.sgml
	rm -f texput.log 

omega-howto.txt: omega-howto.sgml
	sgml2txt --language=deutsch omega-howto.sgml

omega-howto.tgz: omega-howto.sgml
	tar cvzf omega-howto.tgz omega-howto.sgml next.gif prev.gif toc.gif Makefile

omega-howto-html.tgz: omega-howto.sgml
	tar cvzf omega-howto-html.tgz *.html *.gif

clean:
	rm -f omega-howto*.html omega-howto.ps omega-howto.dvi omega-howto.tex omega-howto.txt omega-howto.tgz omega-howto-html.tgz texput.log 
