make install rule to copy to /usr/local/bin
[barcat.git] / Makefile
1 prefix = /usr/local
2 bindir = $(prefix)/bin
3
4 INSTALL = install
5
6 barcat: reformat-podusage
7         ./$< $@
8
9 test:
10         prove -f t/regress.t
11
12 install: barcat
13         $(INSTALL) -d '$(bindir)'
14         $(INSTALL) $< '$(bindir)'