diff options
| -rw-r--r-- | Makefile | 12 | 
1 files changed, 12 insertions, 0 deletions
| @@ -16,11 +16,17 @@  # along with Wajir. If not, see <https://www.gnu.org/licenses/>. +PREFIX=/usr/local +  LISP ?= sbcl  MAN_PAGE := doc/wajir.1 +.PHONY: all +all: wajir $(MAN_PAGE) + +  .PHONY: build  build: wajir @@ -36,3 +42,9 @@ doc: $(MAN_PAGE)  $(MAN_PAGE): doc/wajir.1.txt  	a2x --no-xmllint --format manpage $< + + +.PHONY: install +install: +	install -m 755 wajir $(PREFIX)/bin +	install -m 755 $(MAN_PAGE) $(PREFIX)/share/man/man1 | 
