SRC = achieve
FILTER = ./process.pl
DATABASE = ./current.csv
MKABST = ./mkabst.sh


index.html: $(SRC).tex $(FILTER) $(DATABASE)
	./download.pl
	$(FILTER)
	nkf -e $(SRC).tex > a
	mv a $(SRC).tex
	platex $(SRC)
	platex $(SRC)
	latex2html -init_file init.pl -style ../ueta.css  -noshow_section_numbers -split +1 -toc_depth 0 -no_subdir -local_icons -iso_language EN $(SRC) > /dev/null
	make -C abst
t:
	touch $(SRC).tex

v: 
	jvi $(FILTER)
a: 
	jvi abst.tex

prev:
	xdvi +nomakepk $(SRC).dvi &

clean:
	\rm *png *bak *dvi *log *aux *toc *html *gif *bbl *blg *css WARN*


