mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Get the message catalogs installed properly on make install
This commit is contained in:
parent
c40f0c9f08
commit
e479b2082b
3 changed files with 21 additions and 8 deletions
|
@ -3,3 +3,7 @@ MAINTAINERCLEANFILES = Makefile.in
|
|||
include ../../templates/C.am
|
||||
include ../../templates/msg.C.am
|
||||
|
||||
# Setup a symlink from C -> en_US.UTF-8
|
||||
install-data-hook:
|
||||
$(RM) $(DESTDIR)$(CDE_INSTALLATION_TOP)/lib/nls/msg/en_US.UTF-8
|
||||
cd $(DESTDIR)$(CDE_INSTALLATION_TOP)/lib/nls/msg/ && $(LN_S) C en_US.UTF-8
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
# process the message files...
|
||||
|
||||
# NOTYET dtinfo.cat dtinfo_start.cat
|
||||
# NOTYET dtinfo.cat dtinfo_start.cat
|
||||
|
||||
BUILT_SOURCES = Xm.cat Mrm.cat Uil.cat DtHelp.cat fmt_tbl.cat \
|
||||
# BROKEN (always has been): fmt_tbl.cat
|
||||
|
||||
BUILT_SOURCES = Xm.cat Mrm.cat Uil.cat DtHelp.cat \
|
||||
DtMail.cat DtPrint.cat DtWidget.cat MotifApp.cat \
|
||||
SUNW_TOOLTALK.cat dt.cat dtact.cat dtbuilder.cat dtcalc.cat \
|
||||
dtcm.cat dtcodegen.cat dtconfig.cat dtcopy.cat dtcreate.cat \
|
||||
|
@ -15,6 +17,9 @@ BUILT_SOURCES = Xm.cat Mrm.cat Uil.cat DtHelp.cat fmt_tbl.cat \
|
|||
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
msgcatdir = $(CDE_INSTALLATION_TOP)/lib/nls/msg/$(LANG)
|
||||
dist_msgcat_DATA = $(BUILT_SOURCES)
|
||||
|
||||
TOP = $(top_builddir)/programs
|
||||
TOPLIB = $(top_builddir)/lib
|
||||
TOPMOTIF = $(top_builddir)/imports/
|
||||
|
@ -35,9 +40,12 @@ DtHelp.cat: $(TOPLIB)/DtHelp/DtHelp.msg
|
|||
$(RM) $@
|
||||
LANG=C $(GENCAT) -o $@ $^ || $(RM) $@
|
||||
|
||||
fmt_tbl.cat: $(TOPLIB)/DtHelp/fmt_tbl.msg
|
||||
$(RM) $@
|
||||
LANG=C $(GENCAT) -o $@ $^ || $(RM) $@
|
||||
# FIXME This appears to have been broken a long time ago. Needs
|
||||
# investigation.
|
||||
#
|
||||
#fmt_tbl.cat: $(TOPLIB)/DtHelp/fmt_tbl.msg
|
||||
# $(RM) $@
|
||||
# LANG=C $(GENCAT) -o $@ $^ || $(RM) $@
|
||||
|
||||
DtMail.cat: $(TOP)/dtmail/dtmail/DtMail.msg
|
||||
$(RM) $@
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
# message files for non-C locales - ie: local .msg files. So much
|
||||
# nicer :)
|
||||
|
||||
TMPLOCAL_DEST = $(shell ls *.msg |grep -v libAB |sed -e 's/.msg/.cat/g')
|
||||
|
||||
BUILT_SOURCES = $(TMPLOCAL_DEST)
|
||||
BUILT_SOURCES = $(shell ls *.msg |grep -v libAB |sed -e 's/.msg/.cat/g')
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
msgcatdir = $(CDE_INSTALLATION_TOP)/lib/nls/msg/$(LANG)
|
||||
dist_msgcat_DATA = $(BUILT_SOURCES)
|
||||
|
||||
SUFFIXES = .msg .cat
|
||||
|
||||
.msg.cat:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue