diff options
author | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2023-09-28 08:08:50 +0200 |
---|---|---|
committer | Tristan Riehs <tristan.riehs@bordeaux-inp.fr> | 2023-09-28 08:08:50 +0200 |
commit | e9e456a243b57ac293af95ee6ab5f2435e5b6f3b (patch) | |
tree | 027abf971ab096e6f5a3cfaeec0dd37388ae37c8 /Makefile | |
parent | b975b7392606050c1ed83a8cce016f872589ad38 (diff) |
install and uninstall rules
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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) |