1 # process the config files...
3 # We can't do parallel builds here because MERGE is rather dumb and
4 # hardcodes file names and the like.
7 BUILT_SOURCES = sys.resources sys.session sys.font sys.dtwmrc \
8 Xresources dtfile.config home.session current.session \
9 display.home.session display.current.session 0100.session \
10 0120.session 0140.session 0160.session
13 BUILT_SOURCES += Xresources.ow
16 CLEANFILES = $(BUILT_SOURCES)
18 cfgmaindir = $(CDE_INSTALLATION_TOP)/config/$(LANG)
19 dist_cfgmain_DATA = dtfile.config sys.dtwmrc sys.resources Xresources \
22 cfgrsrcdir = $(CDE_INSTALLATION_TOP)/config/$(LANG)/Xresources.d
23 dist_cfgrsrc_DATA = 0100.session 0120.session 0140.session \
26 TOP = $(top_builddir)/programs
27 MERGE = $(top_builddir)/programs/localized/util/merge
29 # these are the names these 4 file are really installed as, so create
30 # symlinks to them for installation
31 0100.session: current.session
35 0120.session: home.session
39 0140.session: display.current.session
43 0160.session: display.home.session
48 # these are the real targets
49 sys.resources: $(TOP)/dtsession/sys.resources sys.resources.tmsg
50 $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
52 sys.session: $(TOP)/dtsession/sys.session sys.session.tmsg
53 $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
55 sys.font: $(TOP)/dtsession/sys.font sys.font.tmsg
56 $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
58 sys.dtwmrc: $(TOP)/dtwm/sys.dtwmrc sys.dtwmrc.tmsg
59 $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
61 Xresources: $(TOP)/dtlogin/config/Xresources Xresources.tmsg
62 $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
65 Xresources.ow: $(TOP)/dtlogin/config/Xresources.ow Xresources.ow.tmsg
66 $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
69 dtfile.config: $(TOP)/dtfile/dtfile.config dtfile.config.tmsg
70 $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
72 home.session: $(TOP)/dtlogin/config/home.session _common.session.tmsg
73 $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@
75 current.session: $(TOP)/dtlogin/config/current.session _common.session.tmsg
76 $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@
78 display.home.session: $(TOP)/dtlogin/config/display.home.session _common.session.tmsg
79 $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@
81 display.current.session: $(TOP)/dtlogin/config/display.current.session _common.session.tmsg
82 $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@