home
/
code
/
khatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fc77d0
)
Add uninstall and reinstall recipes
author
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 8 Feb 2019 03:47:41 +0000
(22:47 -0500)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 8 Feb 2019 03:47:41 +0000
(22:47 -0500)
x2/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/x2/Makefile
b/x2/Makefile
index
e97b61f
..
43e6967
100644
(file)
--- a/
x2/Makefile
+++ b/
x2/Makefile
@@
-68,13
+68,22
@@
endef
.PHONY: \
build \
install \
+ uninstall \
+ reinstall \
clean
build: | bin
build: $(EXECUTABLES)
install:
- $(foreach filename,$(wildcard bin/*),cp -p "$(filename)" "$(PREFIX)/$(filename)"; )
+ @$(foreach filename,$(wildcard bin/*),cp -p "$(filename)" "$(PREFIX)/$(filename)"; )
+
+uninstall:
+ @$(foreach filename,$(wildcard $(PREFIX)/bin/khatus*),rm "$(filename)"; )
+
+reinstall:
+ @$(MAKE) -s uninstall
+ @$(MAKE) -s install
clean:
rm -rf bin
This page took
0.03474 seconds
and
4
git commands to generate.