git.shiar.nl
/
barcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
make install rule to copy to /usr/local/bin
[barcat.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 0d7d36bb8abe17acdc9753ad059866f7d5ccc6c4..d6f0e7f2896cb1493c371a0a78d5408dbb78dba5 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,5
+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)'