git.shiar.nl
/
barcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f066b3f
)
make install rule to copy to /usr/local/bin
author
Mischa POSLAWSKY
<perl@shiar.org>
Wed, 16 Nov 2022 20:17:12 +0000
(21:17 +0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Mon, 21 Nov 2022 16:54:55 +0000
(17:54 +0100)
Makefile
patch
|
blob
|
history
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
barcat: reformat-podusage
./$< $@
test:
prove -f t/regress.t
+
+install: barcat
+ $(INSTALL) -d '$(bindir)'
+ $(INSTALL) $< '$(bindir)'