diff options
-rw-r--r-- | distrib/sets/lists/base/mi | 1 | ||||
-rw-r--r-- | usr.bin/mg/Makefile | 7 | ||||
-rw-r--r-- | usr.bin/mg/mg.1 | 6 |
3 files changed, 11 insertions, 3 deletions
diff --git a/distrib/sets/lists/base/mi b/distrib/sets/lists/base/mi index 3debafa7df5..6ab7272f9d7 100644 --- a/distrib/sets/lists/base/mi +++ b/distrib/sets/lists/base/mi @@ -2783,6 +2783,7 @@ ./usr/share/dict/web2a ./usr/share/dict/words ./usr/share/doc +./usr/share/doc/mg/tutorial ./usr/share/games ./usr/share/games/atc ./usr/share/games/boggle diff --git a/usr.bin/mg/Makefile b/usr.bin/mg/Makefile index d90fadeedcf..fb02b129837 100644 --- a/usr.bin/mg/Makefile +++ b/usr.bin/mg/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.23 2011/01/18 17:35:42 lum Exp $ +# $OpenBSD: Makefile,v 1.24 2011/02/02 05:21:36 lum Exp $ PROG= mg @@ -26,4 +26,9 @@ SRCS= autoexec.c basic.c buffer.c cinfo.c dir.c display.c \ # SRCS+= cmode.c dired.c grep.c theo.c +afterinstall: + ${INSTALL} -d ${DESTDIR}${DOCDIR}/mg + ${INSTALL} -m ${NONBINMODE} -c ${.CURDIR}/tutorial \ + ${DESTDIR}${DOCDIR}/mg + .include <bsd.prog.mk> diff --git a/usr.bin/mg/mg.1 b/usr.bin/mg/mg.1 index 098bb774667..c021b1213e9 100644 --- a/usr.bin/mg/mg.1 +++ b/usr.bin/mg/mg.1 @@ -1,7 +1,7 @@ -.\" $OpenBSD: mg.1,v 1.50 2011/01/18 17:37:32 jmc Exp $ +.\" $OpenBSD: mg.1,v 1.51 2011/02/02 05:21:36 lum Exp $ .\" This file is in the public domain. .\" -.Dd $Mdocdate: January 18 2011 $ +.Dd $Mdocdate: February 2 2011 $ .Dt MG 1 .Os .Sh NAME @@ -831,6 +831,8 @@ auto-execute *.c c-mode normal startup file .It Pa ~/.mg-TERM terminal-specific startup file +.It Pa /usr/share/mg/tutorial +concise tutorial .El .Sh SEE ALSO .Xr vi 1 |