From: Jon Trulson Date: Sat, 30 Nov 2019 23:18:45 +0000 (-0700) Subject: localized: make configs build X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=376f1e15ee1bb467385b3d4ece76f81cc3b4a0b2;p=oweals%2Fcde.git localized: make configs build --- diff --git a/cde/configure.ac b/cde/configure.ac index 467d39ce..3217a683 100644 --- a/cde/configure.ac +++ b/cde/configure.ac @@ -476,14 +476,19 @@ programs/localized/Makefile programs/localized/util/Makefile programs/localized/C/Makefile programs/localized/C/app-defaults/Makefile +programs/localized/C/config/Makefile programs/localized/de_DE.UTF-8/Makefile programs/localized/de_DE.UTF-8/app-defaults/Makefile +programs/localized/de_DE.UTF-8/config/Makefile programs/localized/fr_FR.UTF-8/Makefile programs/localized/fr_FR.UTF-8/app-defaults/Makefile +programs/localized/fr_FR.UTF-8/config/Makefile programs/localized/it_IT.UTF-8/Makefile programs/localized/it_IT.UTF-8/app-defaults/Makefile +programs/localized/it_IT.UTF-8/config/Makefile programs/localized/es_ES.UTF-8/Makefile programs/localized/es_ES.UTF-8/app-defaults/Makefile +programs/localized/es_ES.UTF-8/config/Makefile ]) diff --git a/cde/programs/localized/C/config/Makefile.am b/cde/programs/localized/C/config/Makefile.am new file mode 100644 index 00000000..d1c226a5 --- /dev/null +++ b/cde/programs/localized/C/config/Makefile.am @@ -0,0 +1,5 @@ +MAINTAINERCLEANFILES = Makefile.in + +include ../../templates/C.am +include ../../templates/config.am + diff --git a/cde/programs/localized/de_DE.UTF-8/config/Makefile.am b/cde/programs/localized/de_DE.UTF-8/config/Makefile.am new file mode 100644 index 00000000..f60bc5c8 --- /dev/null +++ b/cde/programs/localized/de_DE.UTF-8/config/Makefile.am @@ -0,0 +1,5 @@ +MAINTAINERCLEANFILES = Makefile.in + +include ../../templates/German.am +include ../../templates/config.am + diff --git a/cde/programs/localized/el_GR.UTF-8/config/Makefile.am b/cde/programs/localized/el_GR.UTF-8/config/Makefile.am new file mode 100644 index 00000000..93cca0b0 --- /dev/null +++ b/cde/programs/localized/el_GR.UTF-8/config/Makefile.am @@ -0,0 +1,5 @@ +MAINTAINERCLEANFILES = Makefile.in + +include ../../templates/Greek.am +include ../../templates/config.am + diff --git a/cde/programs/localized/es_ES.UTF-8/config/Makefile.am b/cde/programs/localized/es_ES.UTF-8/config/Makefile.am new file mode 100644 index 00000000..7ac59415 --- /dev/null +++ b/cde/programs/localized/es_ES.UTF-8/config/Makefile.am @@ -0,0 +1,5 @@ +MAINTAINERCLEANFILES = Makefile.in + +include ../../templates/Spanish.am +include ../../templates/config.am + diff --git a/cde/programs/localized/fr_FR.UTF-8/config/Makefile.am b/cde/programs/localized/fr_FR.UTF-8/config/Makefile.am new file mode 100644 index 00000000..844b920e --- /dev/null +++ b/cde/programs/localized/fr_FR.UTF-8/config/Makefile.am @@ -0,0 +1,5 @@ +MAINTAINERCLEANFILES = Makefile.in + +include ../../templates/French.am +include ../../templates/config.am + diff --git a/cde/programs/localized/it_IT.UTF-8/config/Makefile.am b/cde/programs/localized/it_IT.UTF-8/config/Makefile.am new file mode 100644 index 00000000..618f17c0 --- /dev/null +++ b/cde/programs/localized/it_IT.UTF-8/config/Makefile.am @@ -0,0 +1,5 @@ +MAINTAINERCLEANFILES = Makefile.in + +include ../../templates/Italian.am +include ../../templates/config.am + diff --git a/cde/programs/localized/templates/config.am b/cde/programs/localized/templates/config.am new file mode 100644 index 00000000..8cffb308 --- /dev/null +++ b/cde/programs/localized/templates/config.am @@ -0,0 +1,51 @@ +# process the config files... + +BUILT_SOURCES = sys.resources sys.session sys.font sys.dtwmrc \ + Xresources dtfile.config home.session current.session \ + display.home.session display.current.session + +if SOLARIS +BUILT_SOURCES += Xresources.ow +endif + +CLEANFILES = $(BUILT_SOURCES) + +TOP = $(top_builddir)/programs +MERGE = $(top_builddir)/programs/localized/util/merge + + +sys.resources: $(TOP)/dtsession/sys.resources sys.resources.tmsg + $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@ + +sys.session: $(TOP)/dtsession/sys.session sys.session.tmsg + $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@ + +sys.font: $(TOP)/dtsession/sys.font sys.font.tmsg + $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@ + +sys.dtwmrc: $(TOP)/dtwm/sys.dtwmrc sys.dtwmrc.tmsg + $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@ + +Xresources: $(TOP)/dtlogin/config/Xresources Xresources.tmsg + $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@ + +if SOLARIS +Xresources.ow: $(TOP)/dtlogin/config/Xresources.ow Xresources.ow.tmsg + $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@ +endif + +dtfile.config: $(TOP)/dtfile/dtfile.config dtfile.config.tmsg + $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@ + +home.session: $(TOP)/dtlogin/config/home.session _common.session.tmsg + $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@ + +current.session: $(TOP)/dtlogin/config/current.session _common.session.tmsg + $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@ + +display.home.session: $(TOP)/dtlogin/config/display.home.session _common.session.tmsg + $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@ + +display.current.session: $(TOP)/dtlogin/config/display.current.session _common.session.tmsg + $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@ +