svn commit: r306882 - projects/doctools/cddl/usr.bin/doctools/troff/nroff
Baptiste Daroussin
bapt at FreeBSD.org
Sat Oct 8 22:58:17 UTC 2016
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}
More information about the svn-src-projects
mailing list