git://git.nikiroo.be
/
cbook.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
886f615
)
makefile
author
Niki Roo
<niki@nikiroo.be>
Sun, 30 Jun 2024 10:37:32 +0000
(12:37 +0200)
committer
Niki Roo
<niki@nikiroo.be>
Sun, 30 Jun 2024 10:37:32 +0000
(12:37 +0200)
src/cbook/makefile.d
patch
|
blob
|
blame
|
history
diff --git
a/src/cbook/makefile.d
b/src/cbook/makefile.d
index 54085c1f74461ee8ef3cf68c334c735d9e1d7c2b..87654a0c7cc4d18c3a2928b70bf6e1bdd1d88e52 100644
(file)
--- a/
src/cbook/makefile.d
+++ b/
src/cbook/makefile.d
@@
-60,3
+60,11
@@
mrpropre: clean
rm -f $(dstdir)/$(NAME)
rmdir $(dstdir) 2>/dev/null || true
+install:
+ mkdir -p "$(PREFIX)/bin"
+ cp $(dstdir)/$(NAME) "$(PREFIX)/bin/"
+
+uninstall:
+ rm "$(PREFIX)/bin/$(NAME)"
+ rmdir "$(PREFIX)/bin" 2>/dev/null
+