In previous versions of CDE (<2.5.0), these were directories with en_US symlinked to them. Attempting to do a 'make install' with 2.5.0 would yield errors since only a non-recursive 'rm' was being done. On 2.5.0+, these are symlinks to the en_US versions now.
78 lines
2.9 KiB
Makefile
78 lines
2.9 KiB
Makefile
MAINTAINERCLEANFILES = Makefile.in
|
|
|
|
INFOLIBDESC = "CDE and Motif Information Library"
|
|
|
|
# get some important variables
|
|
include $(top_srcdir)/doc/common/guides/guides_env.am
|
|
|
|
# prime the pump
|
|
BUILT_SOURCES =
|
|
CLEANFILES =
|
|
|
|
# this sets the LANG variables
|
|
include $(top_srcdir)/programs/localized/templates/English.am
|
|
|
|
# build guide TOCs and deps
|
|
include $(top_srcdir)/doc/common/guides/usersGuide.am
|
|
include $(top_srcdir)/doc/common/guides/infoUGuide.am
|
|
include $(top_srcdir)/doc/common/guides/infoAPGuide.am
|
|
include $(top_srcdir)/doc/common/guides/sysAdminGuide.am
|
|
include $(top_srcdir)/doc/common/guides/progGuide.am
|
|
include $(top_srcdir)/doc/common/guides/man.am
|
|
include $(top_srcdir)/doc/common/guides/builderGuide.am
|
|
include $(top_srcdir)/doc/common/guides/dtkshGuide.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/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
|
|
|
|
# installation - these files *may* change depending on if the docs
|
|
# ever change, but for now we will list them as they are currently
|
|
# installed.
|
|
|
|
cdedtidir = $(CDE_INSTALLATION_TOP)/infolib/$(LANG)/cde.dti
|
|
dist_cdedti_DATA = ../cde.dti/bookcase.map ../cde.dti/cde.oli
|
|
|
|
cdedtidocdir = $(cdedtidir)/CDEDOC
|
|
dist_cdedtidoc_DATA = ../cde.dti/CDEDOC/CDEDOC.dbd \
|
|
../cde.dti/CDEDOC/CDEDOC.dbi \
|
|
../cde.dti/CDEDOC/CDEDOC.sch
|
|
|
|
cdedtidocsearchdir = $(cdedtidocdir)/dtsearch
|
|
dist_cdedtidocsearch_DATA = ../cde.dti/CDEDOC/dtsearch/CDEDOC.d00 \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.d22 \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.dbd \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.k21 \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.sfx \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.d01 \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.d23 \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.k00 \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.k22 \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.stp \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.d21 \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.d99 \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.k01 \
|
|
../cde.dti/CDEDOC/dtsearch/CDEDOC.k23 \
|
|
../cde.dti/CDEDOC/dtsearch/dtsearch.ocf
|
|
|
|
BUILT_SOURCES += $(cdedti_DATA) $(cdedtidoc_DATA) $(cdedtidocsearch_DATA)
|
|
CLEANFILES += $(cdedti_DATA) $(cdedtidoc_DATA) $(cdedtidocsearch_DATA)
|
|
|
|
# link the en_US.UTF-8 version to C
|
|
install-data-hook:
|
|
$(RM) -rf $(DESTDIR)$(CDE_INSTALLATION_TOP)/infolib/C
|
|
cd $(DESTDIR)$(CDE_INSTALLATION_TOP)/infolib && $(LN_S) en_US.UTF-8 C
|