mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
doc/C/guides: build the infolib and search DB
This commit is contained in:
parent
e26c8fb9a4
commit
eebb078c19
2 changed files with 27 additions and 9 deletions
|
@ -12,7 +12,7 @@ CLEANFILES =
|
||||||
# this sets the LANG and HELP_LANG variables
|
# this sets the LANG and HELP_LANG variables
|
||||||
include $(top_srcdir)/programs/localized/templates/C.am
|
include $(top_srcdir)/programs/localized/templates/C.am
|
||||||
|
|
||||||
# build guides
|
# build guide TOCs and deps
|
||||||
include $(top_srcdir)/doc/common/guides/usersGuide.am
|
include $(top_srcdir)/doc/common/guides/usersGuide.am
|
||||||
include $(top_srcdir)/doc/common/guides/infoUGuide.am
|
include $(top_srcdir)/doc/common/guides/infoUGuide.am
|
||||||
include $(top_srcdir)/doc/common/guides/infoAPGuide.am
|
include $(top_srcdir)/doc/common/guides/infoAPGuide.am
|
||||||
|
@ -22,6 +22,19 @@ include $(top_srcdir)/doc/common/guides/man.am
|
||||||
include $(top_srcdir)/doc/common/guides/builderGuide.am
|
include $(top_srcdir)/doc/common/guides/builderGuide.am
|
||||||
include $(top_srcdir)/doc/common/guides/dtkshGuide.am
|
include $(top_srcdir)/doc/common/guides/dtkshGuide.am
|
||||||
include $(top_srcdir)/doc/common/guides/glossary.am
|
include $(top_srcdir)/doc/common/guides/glossary.am
|
||||||
|
include $(top_srcdir)/doc/common/guides/i18nGuide.am
|
||||||
include $(top_srcdir)/doc/common/guides/progOview.am
|
include $(top_srcdir)/doc/common/guides/progOview.am
|
||||||
include $(top_srcdir)/doc/common/guides/ttGuide.am
|
include $(top_srcdir)/doc/common/guides/ttGuide.am
|
||||||
|
include $(top_srcdir)/doc/common/guides/helpGuide.am
|
||||||
|
include $(top_srcdir)/doc/common/guides/docbookGuide.am
|
||||||
|
|
||||||
|
|
||||||
|
# build the infolib + search DB
|
||||||
|
INFOLIBDEPS = $(SGMLDEPS) $(top_srcdir)/doc/common/docbook/docbook.stl
|
||||||
|
|
||||||
|
$(INFOLIB)/$(BOOKCASE)/dtsearch/dtsearch.ocf: $(INFOLIBDEPS)
|
||||||
|
$(MKDIR_P) $(INFOLIB)
|
||||||
|
$(DGENV) $(DTINFOGEN) build -v -T $(DTINFOGENTMPDIR) $(DTINFOGENOPTIONS) $(DGOPTS) $(SSENTS) -l $(INFOLIB) bookcase.bc
|
||||||
|
|
||||||
|
BUILT_SOURCES += $(INFOLIB)/$(BOOKCASE)/dtsearch/dtsearch.ocf
|
||||||
|
CLEANFILES += $(INFOLIB)/$(BOOKCASE)/dtsearch/dtsearch.ocf
|
||||||
|
|
|
@ -4,26 +4,31 @@ INFOLIB = ../cde.dti
|
||||||
BOOKCASE = CDEDOC
|
BOOKCASE = CDEDOC
|
||||||
|
|
||||||
INFOLIBNAME = -n cde
|
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
|
SSENTS = -m common/catalog
|
||||||
DGENV = LANG=$(LANG) SGML_SEARCH_PATH=".:.."
|
DGENV = LANG=$(LANG) SGML_SEARCH_PATH=".:.."
|
||||||
DTINFOGENOPTIONS = $(INFOLIBNAME) -d $(INFOLIBDESC)
|
DTINFOGENOPTIONS = $(INFOLIBNAME) -d $(INFOLIBDESC)
|
||||||
|
|
||||||
# Note the triple-dollar sign - this escapes $$ (pid) for the tmp dir
|
# Note the quad-dollar sign - this escapes $$ (pid) for the tmp
|
||||||
DTINFOGENTMPDIR = /tmp/guides.$$$
|
# dir. This is required for milti-core builds to work.
|
||||||
|
DTINFOGENTMPDIR = /tmp/dtinfogen-guides.$$$$
|
||||||
|
|
||||||
DTHELPSRC = $(top_srcdir)/lib/DtHelp
|
DTHELPSRC = $(top_srcdir)/lib/DtHelp
|
||||||
DTLCXENVSETUP = DTLCXSEARCHPATH=$(DTHELPSRC)
|
DTLCXENVSETUP = DTLCXSEARCHPATH=$(DTHELPSRC)
|
||||||
DTINFOGENSRC = $(top_srcdir)/programs/dtinfo/dtinfogen
|
DTINFOGENSRC = $(top_srcdir)/programs/dtinfo/dtinfogen
|
||||||
SGMLDIR = $(top_builddir)/programs/nsgmls
|
NSGMLS = $(top_builddir)/programs/nsgmls
|
||||||
DTSRDIR = $(top_builddir)/programs/dtsr
|
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
|
SGMLDIR = $(top_srcdir)/programs/dtinfo/dtinfogen/infolib/C/SGML
|
||||||
SGMLDEPS = $(SGMLDIR)/docbook.dtd $(SGMLDIR)/iso-box.gml \
|
SGMLDEPS = $(SGMLDIR)/docbook.dtd $(SGMLDIR)/iso-box.gml \
|
||||||
$(SGMLDIR)/iso-dia.gml $(SGMLDIR)/iso-grk3.gml $(SGMLDIR)/iso-lat1.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-lat2.gml $(SGMLDIR)/iso-num.gml $(SGMLDIR)/iso-pub.gml \
|
||||||
$(SGMLDIR)/iso-tech.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
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue