Just make tutorial file neater on installation. ok?
-lum
Index: Makefile
===================================================================
RCS file: /cvs/src/usr.bin/mg/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile 28 Nov 2011 04:41:39 -0000 1.25
+++ Makefile 6 May 2012 18:07:00 -0000
@@ -28,7 +28,7 @@ SRCS+= cmode.c dired.c grep.c tags.c the
afterinstall:
${INSTALL} -d ${DESTDIR}${DOCDIR}/mg
- ${INSTALL} -m ${NONBINMODE} -c ${.CURDIR}/tutorial \
- ${DESTDIR}${DOCDIR}/mg
+ perl -p -e '$$_ = "" if ($$. <= 2);' ${.CURDIR}/tutorial > \
+ ${DESTDIR}${DOCDIR}/mg/tutorial
.include <bsd.prog.mk>