config.am 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. # process the config files...
  2. BUILT_SOURCES = sys.resources sys.session sys.font sys.dtwmrc \
  3. Xresources dtfile.config home.session current.session \
  4. display.home.session display.current.session 0100.session \
  5. 0120.session 0140.session 0160.session
  6. if SOLARIS
  7. BUILT_SOURCES += Xresources.ow
  8. endif
  9. CLEANFILES = $(BUILT_SOURCES)
  10. cfgmaindir = $(CDE_INSTALLATION_TOP)/config/$(LANG)
  11. dist_cfgmain_DATA = dtfile.config sys.dtwmrc sys.resources Xresources \
  12. sys.font sys.session
  13. cfgrsrcdir = $(CDE_INSTALLATION_TOP)/config/$(LANG)/Xresources.d
  14. dist_cfgrsrc_DATA = 0100.session 0120.session 0140.session \
  15. 0160.session
  16. TOP = $(top_builddir)/programs
  17. MERGE = $(top_builddir)/programs/localized/util/merge
  18. # these are the names these 4 file are really installed as, so create
  19. # symlinks to them for installation
  20. 0100.session: current.session
  21. $(RM) $@
  22. $(LN_S) $< $@
  23. 0120.session: home.session
  24. $(RM) $@
  25. $(LN_S) $< $@
  26. 0140.session: display.current.session
  27. $(RM) $@
  28. $(LN_S) $< $@
  29. 0160.session: display.home.session
  30. $(RM) $@
  31. $(LN_S) $< $@
  32. # these are the real targets
  33. sys.resources: $(TOP)/dtsession/sys.resources sys.resources.tmsg
  34. $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
  35. sys.session: $(TOP)/dtsession/sys.session sys.session.tmsg
  36. $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
  37. sys.font: $(TOP)/dtsession/sys.font sys.font.tmsg
  38. $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
  39. sys.dtwmrc: $(TOP)/dtwm/sys.dtwmrc sys.dtwmrc.tmsg
  40. $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
  41. Xresources: $(TOP)/dtlogin/config/Xresources Xresources.tmsg
  42. $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
  43. if SOLARIS
  44. Xresources.ow: $(TOP)/dtlogin/config/Xresources.ow Xresources.ow.tmsg
  45. $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
  46. endif
  47. dtfile.config: $(TOP)/dtfile/dtfile.config dtfile.config.tmsg
  48. $(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
  49. home.session: $(TOP)/dtlogin/config/home.session _common.session.tmsg
  50. $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@
  51. current.session: $(TOP)/dtlogin/config/current.session _common.session.tmsg
  52. $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@
  53. display.home.session: $(TOP)/dtlogin/config/display.home.session _common.session.tmsg
  54. $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@
  55. display.current.session: $(TOP)/dtlogin/config/display.current.session _common.session.tmsg
  56. $(MERGE) -lang $(LANG) _common.session.tmsg < $< > $@ || $(RM) $@