DEST = /home/thomas/public_html
FILES= --exclude "*.wml" --exclude ".*" --exclude "Makefile" --exclude ".xvpics/"


html:	*.wml
	wmk -F userlib.wml -F template.wml

install: html
	test -d $(DEST) || mkdir $(DEST)
	rsync -lptr $(FILES) ./ $(DEST)/

upload: install
	cd $(DEST)
	sitecopy --update puretec

catchup:
	cd $(DEST)
	sitecopy --catchup puretec
