#APPL_CLASS=$(subst ../Vorlesung,Appl,$(wildcard ../Vorlesung/*.class))
#APPL_APPLET_CLASS=$(subst .,Applet.,$(subst ../Vorlesung,Appl,$(wildcard ../Vorlesung/*.class)))
#APPL_APPLET_JAVA=$(subst .class,.java,$(APPL_APPLET_CLASS))
#SOURCES= Appl/AlgoTools \
#Appl/ProgApplet.java Appl/ProgApplet.class \
#$(APPL_CLASS) $(APPL_APPLET_CLASS) $(APPL_APPLET_JAVA) \

SOURCES= Vorlesung \
Packages/AlgoTools \
Postscript/skript.ps \
images \
Appl \
Html/Vorlesung \
JavaDocs/Vorlesung \
ainf.html \
skript

ALL= HTML/vorlesung_html.tgz HTML/vorlesung_html.zip

all: $(ALL)

HTML/vorlesung_html.zip:
	-rsh arnold 'cd /home/lvprax/ainf/public_html && zip -r Download/HTML/vorlesung_html.zip $(SOURCES)'

HTML/vorlesung_html.tgz:
	-(cd .. && tar czhvf Download/HTML/vorlesung_html.tgz $(SOURCES))

clobber:
	rm -f $(ALL)
	rm -f core HTML/.nfs*
