From 67e822d9bd9bdb99f694006b9ba41ab67c61992f Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Wed, 9 Mar 2022 17:18:52 -0500 Subject: [PATCH] Ajout Makefile pour installation --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d466dfc --- /dev/null +++ b/Makefile @@ -0,0 +1,9 @@ +PREFIX ?= /usr/local + +install: + install -m 755 chordpack $(PREFIX)/bin/ + install -m 644 chordpro-mode.el $(PREFIX)/share/emacs/site-lisp/ + +uninstall: + rm $(PREFIX)/share/emacs/site-lisp/chordpro-mode.el + rm $(PREFIX)/bin/chordpack -- 2.20.1