# chump2annotea makefile
# $Id: Makefile,v 1.7 2001/12/04 17:50:59 em Exp $

USER=foo
PASSWD=bar
SERVER=http://annotest.w3.org/annotations
CHUMPFILE=http://rdfig.xmlhack.com/index.xml
#CHUMPFILE=http://rdfig.xmlhack.com/2001/11/20/2001-11-20.xml
XMLFILE=,chump.xml
XSLFILE=chump2annotea.xsl

WGET=wget
PERL=perl

all : annotations

annotations: chump2annotea.xsl annopost.pl
	$(WGET) -O $(XMLFILE) $(CHUMPFILE)
	$(PERL) annopost.pl --xml $(XMLFILE) --xsl $(XSLFILE) --user $(USER) --passwd $(PASSWD) --server $(SERVER)

clean:
	$(RM) *~ #*#

realclean:
	$(RM) $(XMLFILE) $(CHUMPFILE) *~ #*#


