From owner-svn-src-projects@freebsd.org Sat Oct 8 22:58:17 2016 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B396DC06620 for ; Sat, 8 Oct 2016 22:58:17 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 836B1321; Sat, 8 Oct 2016 22:58:17 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u98MwGk5006391; Sat, 8 Oct 2016 22:58:16 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u98MwGbq006390; Sat, 8 Oct 2016 22:58:16 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201610082258.u98MwGbq006390@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Sat, 8 Oct 2016 22:58:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r306882 - projects/doctools/cddl/usr.bin/doctools/troff/nroff X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2016 22:58:17 -0000 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 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}