t/examples: test and save curl downloads
[barcat.git] / Makefile
index ef60b50719829078e2c5b6efc684c3a5035f0309..d6f0e7f2896cb1493c371a0a78d5408dbb78dba5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,14 @@
+prefix = /usr/local
+bindir = $(prefix)/bin
+
+INSTALL = install
+
 barcat: reformat-podusage
        ./$< $@
+
+test:
+       prove -f t/regress.t
+
+install: barcat
+       $(INSTALL) -d '$(bindir)'
+       $(INSTALL) $< '$(bindir)'