aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index fa63f68..1f59519 100644
--- a/Makefile
+++ b/Makefile
@@ -28,3 +28,10 @@ man: $(MAN_PAGE)
clean:
rm -f $(BIN) $(OBJ) $(MAN_PAGE)
+
+install: compile man
+ cp -f $(BIN) $(PREFIX)/bin
+ cp -f $(MAN_PAGE) $(PREFIX)/share/man/man1
+
+uninstall:
+ rm -f $(PREFIX)/bin/$(BIN) $(PREFIX)/share/man/man1/$(MAN_PAGE)