home
/
code
/
khatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add uninstall and reinstall recipes
[khatus.git]
/
x2
/
Makefile
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 \
.PHONY: \
build \
install \
+ uninstall \
+ reinstall \
clean
build: | bin
build: $(EXECUTABLES)
install:
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
clean:
rm -rf bin
This page took
0.026077 seconds
and
4
git commands to generate.