localized: make configs build
authorJon Trulson <jon@radscan.com>
Sat, 30 Nov 2019 23:18:45 +0000 (16:18 -0700)
committerJon Trulson <jon@radscan.com>
Sat, 30 Nov 2019 23:59:14 +0000 (16:59 -0700)
cde/configure.ac
cde/programs/localized/C/config/Makefile.am [new file with mode: 0644]
cde/programs/localized/de_DE.UTF-8/config/Makefile.am [new file with mode: 0644]
cde/programs/localized/el_GR.UTF-8/config/Makefile.am [new file with mode: 0644]
cde/programs/localized/es_ES.UTF-8/config/Makefile.am [new file with mode: 0644]
cde/programs/localized/fr_FR.UTF-8/config/Makefile.am [new file with mode: 0644]
cde/programs/localized/it_IT.UTF-8/config/Makefile.am [new file with mode: 0644]
cde/programs/localized/templates/config.am [new file with mode: 0644]

index 467d39cec25604782d3ea6c961a97ea04936e51a..3217a68323149cc474991227aa37e5d4adf73b97 100644 (file)
@@ -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 (file)
index 0000000..d1c226a
--- /dev/null
@@ -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 (file)
index 0000000..f60bc5c
--- /dev/null
@@ -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 (file)
index 0000000..93cca0b
--- /dev/null
@@ -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 (file)
index 0000000..7ac5941
--- /dev/null
@@ -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 (file)
index 0000000..844b920
--- /dev/null
@@ -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 (file)
index 0000000..618f17c
--- /dev/null
@@ -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 (file)
index 0000000..8cffb30
--- /dev/null
@@ -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) $@
+