mg

port of mg editor (openbsd to linux)
Log | Files | Refs | README

commit ce38108f7b6a12a32e4428a7de2c34dd301225d5
parent edccd3fdca6356fab023c7e22eca21fd7e72ff98
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 28 Nov 2014 16:33:29 +0100

Makefile: install tutorial to /usr/share/doc

Diffstat:
Makefile | 3+++
config.mk | 1+
2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -109,6 +109,9 @@ install: all mkdir -p $(DESTDIR)$(MANPREFIX)/man1 for m in $(MAN); do cp -f "$$m" $(DESTDIR)$(MANPREFIX)/man1/"$$m"; done cd $(DESTDIR)$(MANPREFIX)/man1 && chmod 644 $(MAN) + mkdir -p $(DESTDIR)$(DOCPREFIX)/mg + cp -f tutorial $(DESTDIR)$(DOCPREFIX)/mg/tutorial + chmod 644 $(DESTDIR)$(DOCPREFIX)/mg/tutorial uninstall: cd $(DESTDIR)$(PREFIX)/bin && rm -f $(BIN) diff --git a/config.mk b/config.mk @@ -9,6 +9,7 @@ # paths PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man +DOCPREFIX = $(PREFIX)/share/doc CC = cc LD = $(CC)