BIN=/usr/local/bin
MAN=/usr/man/man1
SRC=README Makefile example.ref2bib ref2bib ref2bib.1

install:
	chmod +x ref2bib
	cp ref2bib $(BIN)/ref2bib
	cp ref2bib.1 $(MAN)/ref2bib.1
	chown root $(BIN)/ref2bib $(MAN)/ref2bib.1
	chgrp system $(BIN)/ref2bib $(MAN)/ref2bib.1

shar:
	shar -a $(SRC) > ref2bib.shar
	compress ref2bib.shar

