Fixed bug introduced while adding feature
[schreib.git] / Makefile
1 PREFIX = /usr
2 MANPREFIX = ${PREFIX}/share/man
3 EMACSDIR = /usr/share/emacs/site-lisp/emacs-goodies-el/
4 all: install
5 install: emacs
6 @echo installing Schreibblockade...
7 @cp schreib ${PREFIX}/bin
8 @cp schreib.1 ${MANPREFIX}/man1
9 @chmod 644 ${MANPREFIX}/man1/schreib.1
10 uninstall:
11 @echo uninstalling...
12 @rm ${PREFIX}/bin/schreib
13 @rm ${MANPREFIX}/man1/schreib.1
14 emacs:
15 @echo installing emacs support...
16 @mkdir -p ${EMACSDIR}
17 @cp schreib-markdown-mode.el ${EMACSDIR}/markdown-mode.el