doc/C/guides: build the infolib and search DB

This commit is contained in:
Jon Trulson
2021-12-09 11:37:50 -07:00
parent e26c8fb9a4
commit eebb078c19
2 changed files with 27 additions and 9 deletions

View File

@@ -4,26 +4,31 @@ INFOLIB = ../cde.dti
BOOKCASE = CDEDOC
INFOLIBNAME = -n cde
# INFOLIBDESC = -d InfoLibDesc
# INFOLIBDESC must be set in the per-lang guides/Makefile.am (without
# the -d option) prior to including this file.
# orig: INFOLIBDESC = -d InfoLibDesc
SSENTS = -m common/catalog
DGENV = LANG=$(LANG) SGML_SEARCH_PATH=".:.."
DTINFOGENOPTIONS = $(INFOLIBNAME) -d $(INFOLIBDESC)
# Note the triple-dollar sign - this escapes $$ (pid) for the tmp dir
DTINFOGENTMPDIR = /tmp/guides.$$$
# Note the quad-dollar sign - this escapes $$ (pid) for the tmp
# dir. This is required for milti-core builds to work.
DTINFOGENTMPDIR = /tmp/dtinfogen-guides.$$$$
DTHELPSRC = $(top_srcdir)/lib/DtHelp
DTLCXENVSETUP = DTLCXSEARCHPATH=$(DTHELPSRC)
DTINFOGENSRC = $(top_srcdir)/programs/dtinfo/dtinfogen
SGMLDIR = $(top_builddir)/programs/nsgmls
NSGMLS = $(top_builddir)/programs/nsgmls
DTSRDIR = $(top_builddir)/programs/dtsr
DTINFOGEN = $(DTLCXENVSETUP) DTINFO_HOME=$(DTINFOGENSRC) \
DTINFO_BIN=$(DTINFOGENSRC)/install:$(DTINFOGENSRC)/mmdb/StyleSheet:$(DTINFOGENSRC)/mmdb/src:$(SGMLDIR):$(DTSRDIR) \
$(DTINFOGENSRC)/infolib/etc/dtinfogen
SGMLDIR = $(top_srcdir)/programs/dtinfo/dtinfogen/infolib/C/SGML
SGMLDEPS = $(SGMLDIR)/docbook.dtd $(SGMLDIR)/iso-box.gml \
$(SGMLDIR)/iso-dia.gml $(SGMLDIR)/iso-grk3.gml $(SGMLDIR)/iso-lat1.gml \
$(SGMLDIR)/iso-lat2.gml $(SGMLDIR)/iso-num.gml $(SGMLDIR)/iso-pub.gml \
$(SGMLDIR)/iso-tech.gml
DTINFOGEN = $(DTLCXENVSETUP) DTINFO_HOME=$(DTINFOGENSRC) \
DTINFO_BIN=$(DTINFOGENSRC)/install:$(DTINFOGENSRC)/mmdb/StyleSheet:$(DTINFOGENSRC)/mmdb/src:$(NSGMLS):$(DTSRDIR) \
$(DTINFOGENSRC)/infolib/etc/dtinfogen