.PHONY: all install clean

## base name of bibliography; bib file is $(BASE).bib
BASE=pubs

## HTML targets to be generated
HTML=$(BASE).html $(BASE)_abstracts.html $(BASE)_bib.html

all: $(HTML)

install: all
	cp -f $(HTML) ..

%.html %_abstracts.html %_bib.html: %.bib
	bibtex2html --both --revkeys --nodoc --style test/owens_bib/owens_web.bst --style-sheet ../gph.css $<

clean:
	rm -f $(HTML)
