mg Makefile: remove CVS tag from tutorial
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 --- Makefile28 Nov 2011 04:41:39 - 1.25 +++ Makefile6 May 2012 18:07:00 - @@ -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
Re: mg Makefile: remove CVS tag from tutorial
Date: Sun, 6 May 2012 23:24:50 +0500 From: Mark Lumsden m...@showcomplex.com Just make tutorial file neater on installation. ok? Ugh, using perl to install the binary feels very worng. Why not simply remove that line from the source? It isn't even an $OpenBSD$ tag! 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 - 1.25 +++ Makefile 6 May 2012 18:07:00 - @@ -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
Re: mg Makefile: remove CVS tag from tutorial
On Sun, May 06, 2012 at 09:30:30PM +0200, Mark Kettenis wrote: Date: Sun, 6 May 2012 23:24:50 +0500 From: Mark Lumsden m...@showcomplex.com Just make tutorial file neater on installation. ok? Ugh, using perl to install the binary feels very worng. Why not simply remove that line from the source? It isn't even an $OpenBSD$ tag! ok. ok? Index: tutorial === RCS file: /cvs/src/usr.bin/mg/tutorial,v retrieving revision 1.8 diff -u -p -r1.8 tutorial --- tutorial17 Jan 2012 04:24:24 - 1.8 +++ tutorial7 May 2012 02:41:39 - @@ -1,5 +1,3 @@ -$Id: tutorial,v 1.8 2012/01/17 04:24:24 lum Exp $ - The mg Tutorial ---