Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Oct 2016 22:58:16 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r306882 - projects/doctools/cddl/usr.bin/doctools/troff/nroff
Message-ID:  <201610082258.u98MwGbq006390@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Oct  8 22:58:16 2016
New Revision: 306882
URL: https://svnweb.freebsd.org/changeset/base/306882

Log:
  Generate and install terms files

Modified:
  projects/doctools/cddl/usr.bin/doctools/troff/nroff/Makefile

Modified: projects/doctools/cddl/usr.bin/doctools/troff/nroff/Makefile
==============================================================================
--- projects/doctools/cddl/usr.bin/doctools/troff/nroff/Makefile	Sat Oct  8 22:57:45 2016	(r306881)
+++ projects/doctools/cddl/usr.bin/doctools/troff/nroff/Makefile	Sat Oct  8 22:58:16 2016	(r306882)
@@ -16,6 +16,15 @@ SRCS=	n10.c \
 		draw.c \
 		bst.c \
 		version.c
+		
+
+FILESDIR=	${TABDIR}
+
+TERMSFILES=	tab.2631 tab.2631-c tab.2631-e tab.lp \
+		tab.300 tab.300-12 tab.300s tab.300s-12 tab.382 \
+		tab.4000a tab.450 tab.450-12 tab.832 \
+		tab.37 tab.8510 tab.X tab.tn300
+FILES=		${TERMSFILES} tab.utf8
 
 DPADD=	${.OBJDIR}/../libhnj/libhnj.a
 LDADD=	${.OBJDIR}/../libhnj/libhnj.a
@@ -29,7 +38,24 @@ CFLAGS+=	-I${DOCTOOLSDIR}/stuff/bst -I${
 		-DTABDIR='"${TABDIR}"' \
 		-DNROFF -DUSG -DEUC
 
+NLTERM=		${DOCTOOLSDIR}/troff/nroff.d/terms.d
+
+.for f in tab.2631 tab.2631-c tab.2631-e tab.lp
+$f: a.${f:E} b.lp
+	cat ${.ALLSRC} >${.TARGET}
+.endfor
+
+.for f in tab.300 tab.300-12 tab.300s tab.300s-12 tab.382 tab.4000a tab.450-12 tab.832 
+$f: a.${f:E} b.300
+	cat ${.ALLSRC} >${.TARGET}
+.endfor
+
+.for f in tab.37 tab.8510 tab.X tab.tn300
+$f: ab.${f:E}
+	cat ${.ALLSRC} >${.TARGET}
+.endfor
+
 .include <bsd.prog.mk>
 
 RELEASE!=	awk -F= '/^RELEASE/ { print $$2 }' ${DOCTOOLSDIR}/version.mk
-.PATH:	${DOCTOOLSDIR}/troff/nroff.d ${DOCTOOLSDIR}/stuff/bst ${DOCTOOLSDIR}/troff/
+.PATH:	${DOCTOOLSDIR}/troff/nroff.d ${DOCTOOLSDIR}/stuff/bst ${DOCTOOLSDIR}/troff/ ${NLTERM}



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