db=webnote

install:
	dropdb $(db)
	psql -c "select count(*) from wn_workspaces" $(db) || createdb --encoding=latin2 $(db)
	psql $(db) < create.sql

html:
	pod2html lib/Webnote.pm > doc.html && rm pod2htm*tmp
