1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 11:42:21 +00:00

doc/help: install all of the graphics and help assets

Also, some Makefile cleanups and a new sdl-data.am include.
This commit is contained in:
Jon Trulson 2021-11-10 17:11:14 -07:00
parent 66c887ad21
commit ca57b78396
9 changed files with 106 additions and 17 deletions

View file

@ -1,14 +1,5 @@
MAINTAINERCLEANFILES = Makefile.in
#all:
# $(MKDIR_P) help-sdl
# $(MKDIR_P) cde.dti
# $(MKDIR_P) m-guides/common
# $(LN_S) ../../guides/common/ManLinksMotif.sgm \
# m-guides/common/ManLinks.sgm
SUBDIRS = help
# NOTYET = man guides
#clean::
# $(RM) -r help-sdl cde.dti

View file

@ -11,6 +11,8 @@ APPBUILDER = AppBuilder.sdl
include $(top_srcdir)/programs/localized/templates/C.am
# this does all the work
include $(top_srcdir)/doc/common/help/sdl-docs.am
# install all of the extra assets
include $(top_srcdir)/doc/common/help/sdl-data.am
# need to setup a symlink for the en_US locale to point toward C
install-data-hook:

View file

@ -18,10 +18,3 @@ if ITALIAN
SUBDIRS += it_IT.ISO8859-1
endif
# JET - these are related to dtinfogen which should be tackled later
#all::
# $(RM) -r tmp
# $(MKDIR_P) tmp
#clean::
# $(RM) -r tmp

View file

@ -0,0 +1,94 @@
# This unit installs the various data that goes with the help SDL files
# like the graphics and the hf files.
# install the common graphics files
cmngraphdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/graphics
dist_cmngraph_DATA = $(shell find common/graphics/*)
# install the common/*.hf files
hfdirdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)
dist_hfdir_DATA = $(shell ls common/*.hf)
# Now, install any graphics assets found for each help section
# NOTE: we filter out any graphics/CDR directories here - these contain RIFF
# files. It does not appear they are, or ever have been used, but we will
# restrain the urge to delete them all from the repo for now.
# Appmanager
appmanagerdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Appmanager/graphics
dist_appmanager_DATA = $(shell [ -d Appmanager/graphics ] && find Appmanager/graphics/* |grep -v /CDR)
# AppBuilder
appbuilderdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/AppBuilder/graphics
dist_appbuilder_DATA = $(shell [ -d AppBuilder/graphics ] && find AppBuilder/graphics/* |grep -v /CDR)
# Calculator
calculatordir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Calculator/graphics
dist_calculator_DATA = $(shell [ -d Calculator/graphics ] && find Calculator/graphics/* |grep -v /CDR)
# Calendar
calendardir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Calendar/graphics
dist_calendar_DATA = $(shell [ -d Calendar/graphics ] && find Calendar/graphics/* |grep -v /CDR)
# CreatAct
creatactdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/CreatAct/graphics
dist_creatact_DATA = $(shell [ -d CreatAct/graphics ] && find CreatAct/graphics/* |grep -v /CDR)
# Filemgr
filemgrdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Filemgr/graphics
dist_filemgr_DATA = $(shell [ -d Filemgr/graphics ] && find Filemgr/graphics/* |grep -v /CDR)
# FPanel
fpaneldir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/FPanel/graphics
dist_fpanel_DATA = $(shell [ -d FPanel/graphics ] && find FPanel/graphics/* |grep -v /CDR)
# Help4Help
help4helpdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Help4Help/graphics
dist_help4help_DATA = $(shell [ -d Help4Help/graphics ] && find Help4Help/graphics/* |grep -v /CDR)
# Iconed
iconeddir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Iconed/graphics
dist_iconed_DATA = $(shell [ -d Iconed/graphics ] && find Iconed/graphics/* |grep -v /CDR)
# Infomgr
infomgrdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Infomgr/graphics
dist_infomgr_DATA = $(shell [ -d Infomgr/graphics ] && find Infomgr/graphics/* |grep -v /CDR)
# Intromgr
intromgrdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Intromgr/graphics
dist_intromgr_DATA = $(shell [ -d Intromgr/graphics ] && find Intromgr/graphics/* |grep -v /CDR)
# LibDtPrint
libdtprintdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/LibDtPrint/graphics
dist_libdtprint_DATA = $(shell [ -d LibDtPrint/graphics ] && find LibDtPrint/graphics/* |grep -v /CDR)
# Loginmgr
loginmgrdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Loginmgr/graphics
dist_loginmgr_DATA = $(shell [ -d Loginmgr/graphics ] && find Loginmgr/graphics/* |grep -v /CDR)
# Mailer
mailerdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Mailer/graphics
dist_mailer_DATA = $(shell [ -d Mailer/graphics ] && find Mailer/graphics/* |grep -v /CDR)
# Printmgr
printmgrdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Printmgr/graphics
dist_printmgr_DATA = $(shell [ -d Printmgr/graphics ] && find Printmgr/graphics/* |grep -v /CDR)
# PrnSetup
prnsetupdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/PrnSetup/graphics
dist_prnsetup_DATA = $(shell [ -d PrnSetup/graphics ] && find PrnSetup/graphics/* |grep -v /CDR)
# Stylemgr
stylemgrdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Stylemgr/graphics
dist_stylemgr_DATA = $(shell [ -d Stylemgr/graphics ] && find Stylemgr/graphics/* |grep -v /CDR)
# Terminal
terminaldir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Terminal/graphics
dist_terminal_DATA = $(shell [ -d Terminal/graphics ] && find Terminal/graphics/* |grep -v /CDR)
# Textedit
texteditdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)/Textedit/graphics
dist_textedit_DATA = $(shell [ -d Textedit/graphics ] && find Textedit/graphics/* |grep -v /CDR)

View file

@ -1,4 +1,4 @@
# build some SDL docs for the help system
# build and install SDL files for the help system
BUILT_SOURCES = Appmanager.sdl $(APPBUILDER) Calculator.sdl \
Calendar.sdl CreatAct.sdl Filemgr.sdl FPanel.sdl Help4Help.sdl \
@ -8,6 +8,7 @@ BUILT_SOURCES = Appmanager.sdl $(APPBUILDER) Calculator.sdl \
CLEANFILES = $(BUILT_SOURCES)
# install the help SDL files
sdlhelpdir = $(CDE_INSTALLATION_TOP)/appconfig/help/$(LANG)
dist_sdlhelp_DATA = $(BUILT_SOURCES)

View file

@ -7,3 +7,5 @@ MAINTAINERCLEANFILES = Makefile.in
include $(top_srcdir)/programs/localized/templates/German.am
# this does all the work
include $(top_srcdir)/doc/common/help/sdl-docs.am
# install all of the extra assets
include $(top_srcdir)/doc/common/help/sdl-data.am

View file

@ -7,3 +7,5 @@ MAINTAINERCLEANFILES = Makefile.in
include $(top_srcdir)/programs/localized/templates/Spanish.am
# this does all the work
include $(top_srcdir)/doc/common/help/sdl-docs.am
# install all of the extra assets
include $(top_srcdir)/doc/common/help/sdl-data.am

View file

@ -7,3 +7,5 @@ MAINTAINERCLEANFILES = Makefile.in
include $(top_srcdir)/programs/localized/templates/French.am
# this does all the work
include $(top_srcdir)/doc/common/help/sdl-docs.am
# install all of the extra assets
include $(top_srcdir)/doc/common/help/sdl-data.am

View file

@ -7,3 +7,5 @@ MAINTAINERCLEANFILES = Makefile.in
include $(top_srcdir)/programs/localized/templates/Italian.am
# this does all the work
include $(top_srcdir)/doc/common/help/sdl-docs.am
# install all of the extra assets
include $(top_srcdir)/doc/common/help/sdl-data.am