Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 1995 20:47:49 +0100 (MET)
From:      Ollivier Robert <Ollivier.Robert@keltia.frmug.fr.net>
To:        freebsd-hackers@FreeBSD.org (FreeBSD Hackers' list)
Subject:   Problem with new groff
Message-ID:  <199501181947.UAA04127@keltia.frmug.fr.net>

next in thread | raw e-mail | index | archive | help
On a 21-current, there is no /usr/share/tmac/mdoc directory and ``make
install'' thus fails.

In the troffrc, three <TAB> have crept in and groff outputs warnings for
that.

The following patch should fix it.

Index: Makefile
===================================================================
RCS file: /spare/FreeBSD-current/src/gnu/usr.bin/ngroff/tmac/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- 1.4	1995/01/17 19:05:12
+++ Makefile	1995/01/18 19:51:54
@@ -37,6 +37,9 @@
 	for f in ${MDOCFILES}; do \
 		rm -f temp; \
 		sed -f ${.CURDIR}/strip.sed ${.CURDIR}/$$f >temp; \
+		if [ ! -d ${DESTDIR}${MDOCDIR} ]; then \
+			mkdir ${DESTDIR}${MDOCDIR}; \
+		fi; \
 		install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
 			temp ${DESTDIR}${MDOCDIR}/$$f; \
 	done
Index: troffrc
===================================================================
RCS file: /spare/FreeBSD-current/src/gnu/usr.bin/ngroff/tmac/troffrc,v
retrieving revision 1.3
diff -u -r1.3 troffrc
--- 1.3	1995/01/17 20:08:42
+++ troffrc	1995/01/18 19:00:38
@@ -21,9 +21,9 @@
 .\" Set the hyphenation language to `us'.
 .\" Load hyphenation patterns from `hyphen.us' (in the tmac directory).
 .ie "\*[.T]"koi8-r" \
-.do	hla us-ru
-.do	hpf hyphen.us-ru
+.do hla us-ru
+.do hpf hyphen.us-ru
 .el \
-.do	hla us
-.do	hpf hyphen.us
+.do hla us
+.do hpf hyphen.us
 .\" Don't let blank lines creep in here.
-- 
Ollivier ROBERT    -=- The daemon is FREE! -=-    roberto@keltia.frmug.fr.net
      FreeBSD keltia 2.1.0-Development #9: Tue Jan 17 21:12:14 MET 1995



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199501181947.UAA04127>