Ajout Makefile pour installation
authorHugo Villeneuve <hugo@hugovil.com>
Wed, 9 Mar 2022 22:18:52 +0000 (17:18 -0500)
committerHugo Villeneuve <hugo@hugovil.com>
Wed, 9 Mar 2022 22:20:11 +0000 (17:20 -0500)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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