Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 1995 21:13:57 +0100 (MET)
From:      Ollivier Robert <roberto@blaise.ibp.fr>
To:        freebsd-hackers@FreeBSD.org (FreeBSD Hackers' list)
Subject:   Groff Makefile in tmac
Message-ID:  <199501182013.VAA04723@keltia.frmug.fr.net>

next in thread | raw e-mail | index | archive | help
Please  ignore my previous patch for  the tmac/Makefile in ngroff... It was
not the best way to do it and the mail went out before I could correct it.

We must test  and create /usr/share/tmac/mdoc  only once, not in the middle
of the loop of course...

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 20:10:39
@@ -34,6 +34,9 @@
 		install -c -o ${TMACOWN} -g ${TMACGRP} -m ${TMACMODE} \
 			temp ${DESTDIR}${TMACDIR}/$$f; \
 	done
+	if [ ! -d ${DESTDIR}${MDOCDIR} ]; then \
+		mkdir ${DESTDIR}${MDOCDIR}; \
+	fi
 	for f in ${MDOCFILES}; do \
 		rm -f temp; \
 		sed -f ${.CURDIR}/strip.sed ${.CURDIR}/$$f >temp; \

-- 
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?199501182013.VAA04723>