Get the palettes installed properly on make install

This commit is contained in:
Jon Trulson
2019-12-02 19:20:36 -07:00
parent e479b2082b
commit c6b31ebd5f
4 changed files with 21 additions and 1 deletions

View File

@@ -3,3 +3,9 @@ MAINTAINERCLEANFILES = Makefile.in
include ../../templates/C.am
include ../../templates/palettes.am
# link the C version to en_US.UTF-8
install-data-hook:
$(RM) $(DESTDIR)$(CDE_INSTALLATION_TOP)/palettes/desc.en_US.UTF-8
cd $(DESTDIR)$(CDE_INSTALLATION_TOP)/palettes/ && $(LN_S) desc.C desc.en_US.UTF-8

View File

@@ -1,9 +1,11 @@
# process the palettes file...
BUILT_SOURCES = desc.$(LANG)
CLEANFILES = $(BUILT_SOURCES)
palettesdir = $(CDE_INSTALLATION_TOP)/palettes
dist_palettes_DATA = $(BUILT_SOURCES)
TOP = $(top_builddir)/programs
MERGE = $(top_builddir)/programs/localized/util/merge