aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTristan Riehs <tristan.riehs@bordeaux-inp.fr>2023-09-28 08:08:50 +0200
committerTristan Riehs <tristan.riehs@bordeaux-inp.fr>2023-09-28 08:08:50 +0200
commite9e456a243b57ac293af95ee6ab5f2435e5b6f3b (patch)
tree027abf971ab096e6f5a3cfaeec0dd37388ae37c8 /Makefile
parentb975b7392606050c1ed83a8cce016f872589ad38 (diff)
install and uninstall rules
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)