summaryrefslogtreecommitdiffstats
path: root/share/mk
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1997-11-01 19:45:02 +0000
committerwosch <wosch@FreeBSD.org>1997-11-01 19:45:02 +0000
commiteac98c59936e6b1f78806a948d35dd5c6bff0998 (patch)
tree20346c35354d56c317f59bc507ab1ad8b507ffac /share/mk
parenta9b0ad62d6436cfdac4849b99086f63a8e25965e (diff)
downloadFreeBSD-src-eac98c59936e6b1f78806a948d35dd5c6bff0998.zip
FreeBSD-src-eac98c59936e6b1f78806a948d35dd5c6bff0998.tar.gz
Undo rev 1.33 and 1.34: Build the HTML files in .CURDIR and
not in .OBJDIR so the hyper links will work again.
Diffstat (limited to 'share/mk')
-rw-r--r--share/mk/bsd.doc.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/share/mk/bsd.doc.mk b/share/mk/bsd.doc.mk
index dd6acd2..13e76f4 100644
--- a/share/mk/bsd.doc.mk
+++ b/share/mk/bsd.doc.mk
@@ -1,5 +1,5 @@
# from: @(#)bsd.doc.mk 5.3 (Berkeley) 1/2/91
-# $Id: bsd.doc.mk,v 1.37 1997/05/11 10:42:00 wosch Exp $
+# $Id: bsd.doc.mk,v 1.38 1997/06/21 15:40:31 jkh Exp $
#
# The include file <bsd.doc.mk> handles installing BSD troff documents.
# <bsd.prog.mk> includes the include files <bsd.dep.mk> and <bsd.obj.mk>.
@@ -103,7 +103,8 @@ CLEANFILES+= ${DOC}.${PRINTERDEVICE} \
FILES?= ${SRCS}
realinstall:
.if ${PRINTERDEVICE} == "html"
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
+ cd ${SRCDIR}; \
+ ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${DOC}*.html ${DESTDIR}${BINDIR}/${VOLUME}
.else
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
@@ -142,7 +143,7 @@ SRCDIR?= ${.CURDIR}
.if ${PRINTERDEVICE} == "html"
${DFILE}: ${SRCS} ${EXTRA} ${OBJS}
cd ${SRCDIR}; ${UNROFF} ${MACROS} ${UNROFFFLAGS} \
- document=${.OBJDIR}/${DOC} ${SRCS}
+ document=${DOC} ${SRCS}
.else
${DFILE}:: ${SRCS} ${EXTRA} ${OBJS}
OpenPOWER on IntegriCloud