#
# Makefile for the austrian-highspeed-howto
#
# Copyright (C) 2000,2001,2002,2003 by Heimo Schön <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: at-highspeed-howto.html at-highspeed-howto.ps at-highspeed-howto.txt at-highspeed-howto-html.tgz at-highspeed-howto.tgz
        # Veröffentlichen der Compilate und Scripts

        #cp -v READM*                    ~/public_html/
        #cp -v INSTAL*                   ~/public_html/
        #cp -v adsl*                     ~/public_html/
        #cp -v log*                      ~/public_html/
        #cp -v pptp.tar.gz*              ~/public_html/
        #cp -v downlamount*              ~/public_html/
        #cp -v at-highspeed-howto*       ~/public_html/
        #cp -v at*                       ~/public_html/
        #cp -v *.jpg                     ~/public_html/
        #cp -v *.gif                     ~/public_html/
        #cp -v OneSMS.*                  ~/public_html/
        #cp -v .forwar*                  ~/public_html/
        #cp -v handymail*                ~/public_html/
        #cp -v newip.*                   ~/public_html/
        #cp -v AT-Speedtouch-HOWTO.html* ~/public_html/

        #scp README                      schoen@elina.htlw16.ac.at:public_html
        #scp INSTALL                     schoen@elina.htlw16.ac.at:public_html
        #scp adsl                        schoen@elina.htlw16.ac.at:public_html
        #scp adsl-8.1                    schoen@elina.htlw16.ac.at:public_html
        #scp log*                        schoen@elina.htlw16.ac.at:public_html
        #scp pptp.tar.gz                 schoen@elina.htlw16.ac.at:public_html
        #scp downlamount                 schoen@elina.htlw16.ac.at:public_html
        #scp at*                         schoen@elina.htlw16.ac.at:public_html
        #scp *.jpg                       schoen@elina.htlw16.ac.at:public_html
        #scp *.gif                       schoen@elina.htlw16.ac.at:public_html
        #scp OneSMS.java                 schoen@elina.htlw16.ac.at:public_html
        #scp .forward                    schoen@elina.htlw16.ac.at:public_html
        #scp handymail.sh                schoen@elina.htlw16.ac.at:public_html
        #scp newip.sh                    schoen@elina.htlw16.ac.at:public_html
        #scp AT-Speedtouch-HOWTO.html    schoen@elina.htlw16.ac.at:public_html

        #scp README                      schoen@howto.htlw16.ac.at:public_html
        #scp INSTALL                     schoen@howto.htlw16.ac.at:public_html
        #scp adsl                        schoen@howto.htlw16.ac.at:public_html
        #scp adsl-8.1                    schoen@howto.htlw16.ac.at:public_html
        #scp log*                        schoen@howto.htlw16.ac.at:public_html
        #scp pptp.tar.gz                 schoen@howto.htlw16.ac.at:public_html
        #scp downlamount                 schoen@howto.htlw16.ac.at:public_html
        #scp at*                         schoen@howto.htlw16.ac.at:public_html
        #scp *.jpg                       schoen@howto.htlw16.ac.at:public_html
        #scp *.gif                       schoen@howto.htlw16.ac.at:public_html
        #scp OneSMS.java                 schoen@howto.htlw16.ac.at:public_html
        #scp .forward                    schoen@howto.htlw16.ac.at:public_html
        #scp handymail.sh                schoen@howto.htlw16.ac.at:public_html
        #scp newip.sh                    schoen@howto.htlw16.ac.at:public_html
        #scp AT-Speedtouch-HOWTO.html    schoen@howto.htlw16.ac.at:public_html

	scp README                      heimo@exd.at:public_html
	scp INSTALL                     heimo@exd.at:public_html
	scp adsl                        heimo@exd.at:public_html
	scp adsl-8.1                    heimo@exd.at:public_html
	scp log*                        heimo@exd.at:public_html
	scp pptp.tar.gz                 heimo@exd.at:public_html
	scp downlamount                 heimo@exd.at:public_html
	scp at*                         heimo@exd.at:public_html
	scp *.jpg                       heimo@exd.at:public_html
	scp *.gif                       heimo@exd.at:public_html
	scp OneSMS.java                 heimo@exd.at:public_html
	scp .forward                    heimo@exd.at:public_html
	scp handymail.sh                heimo@exd.at:public_html
	scp newip.sh                    heimo@exd.at:public_html
	scp AT-Speedtouch-HOWTO.html    heimo@exd.at:public_html

html: at-highspeed-howto.html

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

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

at-highspeed-howto.txt: at-highspeed-howto.sgml
	sgml2txt --language=deutsch at-highspeed-howto.sgml

at-highspeed-howto.tgz: at-highspeed-howto.sgml
	rm -rf at-highspeed-howto
	mkdir at-highspeed-howto
	cp .forward README INSTALL AT-Speedtouch-HOWTO.html OneSMS.java adsl-8.1 downlamount logsr newip.sh pptp.tar.gz toc.gif Makefile adsl at-highspeed-howto.sgml handymail.sh logsurf next.gif prev.gif ups.jpg at-highspeed-howto
	tar czvf at-highspeed-howto.tgz at-highspeed-howto/* at-highspeed-howto/.forward
	rm -rf at-highspeed-howto

at-highspeed-howto-html.tgz: at-highspeed-howto.sgml
	rm -rf at-highspeed-howto-html
	mkdir at-highspeed-howto-html
	cp .forward README INSTALL *.html OneSMS.java adsl-8.1 downlamount logsr newip.sh pptp.tar.gz toc.gif Makefile adsl at-highspeed-howto.sgml handymail.sh logsurf next.gif prev.gif ups.jpg at-highspeed-howto-html
	tar czvf at-highspeed-howto-html.tgz at-highspeed-howto-html/* at-highspeed-howto-html/.forward
	rm -rf at-highspeed-howto-html

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