svn commit: r238563 - head/gnu/usr.bin/groff/tmac
Ruslan Ermilov
ru at FreeBSD.org
Thu Jul 26 08:49:05 UTC 2012
On Wed, Jul 18, 2012 at 05:57:43AM +0000, David E. O'Brien wrote:
> Author: obrien
> Date: Wed Jul 18 05:57:42 2012
> New Revision: 238563
> URL: http://svn.freebsd.org/changeset/base/238563
>
> Log:
> a ";" tells make we want the shell to be used
>
> Submitted by: Simon Gerraty <sjg at juniper.net>
>
> Modified:
> head/gnu/usr.bin/groff/tmac/Makefile
I don't quite understand what this change does, could you elaborate?
Without -jN (in backwards compatibility mode), the "cd" is a no-op
(whether it's terminated by `;' or not) because make will execute a
single shell per command, with cwd set to ${.OBJDIR}.
With -jN, "cd" becomes necessary because all commands are executed as
a script by one shell (the reason it was added in the first place),
but adding `;' is a no-op because commands are on separate lines.
> Modified: head/gnu/usr.bin/groff/tmac/Makefile
> ==============================================================================
> --- head/gnu/usr.bin/groff/tmac/Makefile Wed Jul 18 05:50:40 2012 (r238562)
> +++ head/gnu/usr.bin/groff/tmac/Makefile Wed Jul 18 05:57:42 2012 (r238563)
> @@ -68,7 +68,7 @@ beforeinstall:
> cd ${.CURDIR}; \
> ${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
> koi8-r.tmac hyphen.ru ${DESTDIR}${TMACDIR}
> - cd ${.OBJDIR}
> + cd ${.OBJDIR};
> .for f in ${STRIPFILES} ${SPECIALFILES}
> ${INSTALL} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
> $f-s ${DESTDIR}${TMACDIR}/$f
>
--
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
More information about the svn-src-head
mailing list