Date: Thu, 19 Apr 2001 10:22:08 +0700 (NOVST) From: nnd@mail.nsk.ru To: current@freebsd.org Subject: Re: groff breaks "make -j N buildworld" Message-ID: <200104190322.f3J3M8w56668@wint.itfs.nsk.su> In-Reply-To: <20010418091825.A75054@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In <20010418091825.A75054@troutmask.apl.washington.edu> Steve Kargl wrote:
........
> install -C -c -s -o root -g wheel -m 555 tfmtodit /usr/obj/usr/src/i386/usr/bin
> ===> tmac
> install -C -c -o root -g wheel -m 444 e.tmac-s /usr/obj/usr/src/i386/usr/share/tmac/e.tmac
> install: e.tmac-s: No such file or directory
> *** Error code 71
> 1 error
>
> A standard "make buildworld" appears to work.
>
> troutmask:kargl[351] grep FreeBSD /usr/src/Makefile.inc1
> # $FreeBSD: src/Makefile.inc1,v 1.197 2001/04/18 12:20:28 ru Exp $
The next patch allows me to 'make -j32 all install' in
'src/gnu/usr.bin/groff/tmac'.
N.Dudorov
Index: Makefile
===================================================================
RCS file: /scratch/CVS/src/gnu/usr.bin/groff/tmac/Makefile,v
retrieving revision 1.27
diff -b -u -r1.27 Makefile
--- Makefile 2001/04/17 12:37:18 1.27
+++ Makefile 2001/04/19 03:14:14
@@ -37,7 +37,7 @@
STRIPFILES= e.tmac doc.tmac mdoc.local
MDOCFILES= doc-common doc-ditroff doc-nroff doc-syms koi8-r
-all: ${MDOCFILES:S/$/-s/} ${STRIPFILES:S/$/-s/} ${SPECIALFILES:S/$/-s/}
+all: ${MDOCFILES:S/$/-s/} ${STRIPFILES:S/$/-s/} ${SPECIALFILES:S/$/-s/} ${MAN}
.for f in ${MDOCFILES} ${STRIPFILES}
$f-s: $f
@@ -51,6 +51,8 @@
${.ALLSRC} > ${.TARGET}
.endfor
+.ORDER: all beforeinstall
+
beforeinstall:
cd ${DIST_DIR}; \
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
@@ -59,14 +61,17 @@
${INSTALL} ${COPY} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
hyphen.us-ru ${DESTDIR}${TMACDIR}
.for f in ${STRIPFILES} ${SPECIALFILES}
+ cd ${.OBJDIR}; \
${INSTALL} ${COPY} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
$f-s ${DESTDIR}${TMACDIR}/$f
.endfor
.for f in ${MDOCFILES}
+ cd ${.OBJDIR}; \
${INSTALL} ${COPY} -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
$f-s ${DESTDIR}${MDOCDIR}/$f
.endfor
.if !exists(${DESTDIR}${TMACDIR}/man.local)
+ cd ${.OBJDIR}; \
${INSTALL} -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
${DIST_DIR}/man.local ${DESTDIR}${TMACDIR}
.endif
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104190322.f3J3M8w56668>
