mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Get /usr/dt/config populated correctly on make install
This commit is contained in:
parent
5823e95e03
commit
c40f0c9f08
9 changed files with 88 additions and 24 deletions
10
cde/.gitignore
vendored
10
cde/.gitignore
vendored
|
@ -2493,4 +2493,14 @@ lib/csa/y.tab.c
|
||||||
lib/csa/y.tab.h
|
lib/csa/y.tab.h
|
||||||
util/tradcpp/tradcpp
|
util/tradcpp/tradcpp
|
||||||
|
|
||||||
|
programs/dtlogin/config/sys.dtprofile
|
||||||
|
programs/localized/C/config/0100.session
|
||||||
|
programs/localized/C/config/0120.session
|
||||||
|
programs/localized/C/config/0140.session
|
||||||
|
programs/localized/C/config/0160.session
|
||||||
|
programs/localized/de_DE.UTF-8/config/0100.session
|
||||||
|
programs/localized/de_DE.UTF-8/config/0120.session
|
||||||
|
programs/localized/de_DE.UTF-8/config/0140.session
|
||||||
|
programs/localized/de_DE.UTF-8/config/0160.session
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,10 @@ MAINTAINERCLEANFILES = Makefile.in
|
||||||
|
|
||||||
SUBDIRS = il
|
SUBDIRS = il
|
||||||
|
|
||||||
|
cfgdir = $(CDE_INSTALLATION_TOP)/config/svc
|
||||||
|
dist_cfg_DATA = CDE.lcx
|
||||||
|
|
||||||
|
|
||||||
lib_LTLIBRARIES = libDtHelp.la
|
lib_LTLIBRARIES = libDtHelp.la
|
||||||
|
|
||||||
libDtHelp_la_CFLAGS = -I./il -I./jpeg -I../DtSvc/DtUtil2 -DDTLIB \
|
libDtHelp_la_CFLAGS = -I./il -I./jpeg -I../DtSvc/DtUtil2 -DDTLIB \
|
||||||
|
@ -13,12 +17,7 @@ libDtHelp_la_LIBADD = -ljpeg il/libil.la
|
||||||
|
|
||||||
if SOLARIS
|
if SOLARIS
|
||||||
libDtHelp_la_CFLAGS += -DICONV_INBUF_CONST=const -DLSB_BIT_ORDER
|
libDtHelp_la_CFLAGS += -DICONV_INBUF_CONST=const -DLSB_BIT_ORDER
|
||||||
libDtHelp_la_LIBADD += -lw -lgen -lm -lc $(XTOOLLIB) ${X_LIBS}
|
libDtHelp_la_LIBADD += -lw -lgen -lm -lc
|
||||||
endif
|
|
||||||
|
|
||||||
if AIX
|
|
||||||
libDtHelp_la_CFLAGS += -DICONV_INBUF_CONST=const
|
|
||||||
libDtHelp_la_LIBADD += $(XTOOLLIB) ${X_LIBS} -liconv
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if LINUX
|
if LINUX
|
||||||
|
@ -27,12 +26,9 @@ endif
|
||||||
|
|
||||||
if BSD
|
if BSD
|
||||||
libDtHelp_la_CFLAGS += -DLSB_BIT_ORDER
|
libDtHelp_la_CFLAGS += -DLSB_BIT_ORDER
|
||||||
libDtHelp_la_LIBADD += -liconv $(XTOOLLIB) ${X_LIBS}
|
libDtHelp_la_LIBADD += -liconv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if HPUX
|
|
||||||
libDtHelp_la_LIBADD += $(LIBSVC) -lXm -lm $(XTOOLLIB) ${X_LIBS}
|
|
||||||
endif
|
|
||||||
|
|
||||||
libDtHelp_la_SOURCES = Actions.c AsciiSpc.c Callbacks.c \
|
libDtHelp_la_SOURCES = Actions.c AsciiSpc.c Callbacks.c \
|
||||||
Destroy.c Environ_c.c FileListUtils.c \
|
Destroy.c Environ_c.c FileListUtils.c \
|
||||||
|
|
|
@ -21,6 +21,12 @@ dtimsstart_SOURCES = action.c env.c file.c main.c remote.c select.c \
|
||||||
BUILT_SOURCES = 0020.dtims
|
BUILT_SOURCES = 0020.dtims
|
||||||
CLEANFILE = $(BUILT_SOURCES)
|
CLEANFILE = $(BUILT_SOURCES)
|
||||||
|
|
||||||
|
cfgdir = $(CDE_INSTALLATION_TOP)/config/Xsession.d
|
||||||
|
dist_cfg_DATA = 0020.dtims
|
||||||
|
|
||||||
|
imsdir = $(CDE_INSTALLATION_TOP)/config/ims
|
||||||
|
dist_ims_DATA = conf/start.conf
|
||||||
|
|
||||||
LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
|
LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
|
||||||
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
|
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
|
||||||
-DKORNSHELL=$(KSH)
|
-DKORNSHELL=$(KSH)
|
||||||
|
|
|
@ -8,23 +8,33 @@ if FREEBSD
|
||||||
AM_CPPFLAGS += -DFREEBSD
|
AM_CPPFLAGS += -DFREEBSD
|
||||||
endif
|
endif
|
||||||
|
|
||||||
CPP_TARGETS = \
|
CPP_TARGETS = 0060.dtsysenv Dtlogin Xaccess Xconfig Xconfig.con \
|
||||||
0060.dtsysenv Dtlogin \
|
Xconfig.nc Xfailsafe Xreset Xresources Xresources.ive \
|
||||||
Xaccess Xconfig \
|
Xservers Xservers.con Xservers.nc Xsession Xsession.ive \
|
||||||
Xconfig.con Xconfig.nc \
|
Xsetup Xstartup current.session display.current.session \
|
||||||
Xfailsafe Xreset \
|
display.home.session dtlslocale dtprofile home.session \
|
||||||
Xresources Xresources.ive \
|
sys.dtprofile
|
||||||
Xservers Xservers.con \
|
|
||||||
Xservers.nc Xsession \
|
|
||||||
Xsession.ive Xsetup \
|
|
||||||
Xstartup current.session \
|
|
||||||
display.current.session display.home.session \
|
|
||||||
dtlslocale dtprofile \
|
|
||||||
home.session
|
|
||||||
|
|
||||||
BUILT_SOURCES = $(CPP_TARGETS)
|
BUILT_SOURCES = $(CPP_TARGETS)
|
||||||
CLEANFILES = $(CPP_TARGETS)
|
CLEANFILES = $(CPP_TARGETS)
|
||||||
|
|
||||||
|
# Some of these are installed here, others are installed via
|
||||||
|
# programs/localization/
|
||||||
|
|
||||||
|
configsdir=$(CDE_INSTALLATION_TOP)/config
|
||||||
|
dist_configs_DATA = Xaccess Xconfig Xfailsafe Xreset Xservers Xsetup \
|
||||||
|
Xstartup sys.dtprofile
|
||||||
|
|
||||||
|
xsessdir=$(CDE_INSTALLATION_TOP)/config/Xsession.d
|
||||||
|
dist_xsess_DATA = 0060.dtsysenv
|
||||||
|
|
||||||
|
|
||||||
|
# fake - installed under a different name
|
||||||
|
sys.dtprofile: dtprofile
|
||||||
|
$(RM) $@
|
||||||
|
$(LN_S) $< $@
|
||||||
|
|
||||||
|
# regular targets
|
||||||
0060.dtsysenv: 0060.dtsysenv.src
|
0060.dtsysenv: 0060.dtsysenv.src
|
||||||
$(RM) $@
|
$(RM) $@
|
||||||
$(GENCPP) -P -DXCOMM=# $(AM_CPPFLAGS) $< > $@
|
$(GENCPP) -P -DXCOMM=# $(AM_CPPFLAGS) $< > $@
|
||||||
|
|
|
@ -5,6 +5,9 @@ SUBDIRS = libCliSrv dtsp dtappg
|
||||||
BUILT_SOURCES = 0010.dtpaths 0030.dttmpdir
|
BUILT_SOURCES = 0010.dtpaths 0030.dttmpdir
|
||||||
CLEANFILES = $(BUILT_SOURCES)
|
CLEANFILES = $(BUILT_SOURCES)
|
||||||
|
|
||||||
|
cfgdir = $(CDE_INSTALLATION_TOP)/config/Xsession.d
|
||||||
|
dist_cfg_DATA = 0010.dtpaths 0030.dttmpdir
|
||||||
|
|
||||||
LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
|
LOCAL_CPP_DEFINES = -DCDE_INSTALLATION_TOP=$(CDE_INSTALLATION_TOP) \
|
||||||
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
|
-DCDE_CONFIGURATION_TOP=$(CDE_CONFIGURATION_TOP) \
|
||||||
-DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP) -DKORNSHELL=$(KSH)
|
-DCDE_LOGFILES_TOP=$(CDE_LOGFILES_TOP) -DKORNSHELL=$(KSH)
|
||||||
|
|
|
@ -12,6 +12,9 @@ if SOLARIS
|
||||||
dtspcd_LDADD += -ldl -lgen
|
dtspcd_LDADD += -ldl -lgen
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
cfgdir = $(CDE_INSTALLATION_TOP)/config
|
||||||
|
dist_cfg_DATA = dtspcdenv
|
||||||
|
|
||||||
# I really think we should get rid of dtspcd in general...
|
# I really think we should get rid of dtspcd in general...
|
||||||
|
|
||||||
dtspcd_SOURCES = main.c spcd_event.c
|
dtspcd_SOURCES = main.c spcd_event.c
|
||||||
|
|
|
@ -24,6 +24,9 @@ CPP_TARGETS = dtterm.ti DtTermFallBackResources.c.src \
|
||||||
BUILT_SOURCES = $(CPP_TARGETS)
|
BUILT_SOURCES = $(CPP_TARGETS)
|
||||||
CLEANFILES = $(CPP_TARGETS)
|
CLEANFILES = $(CPP_TARGETS)
|
||||||
|
|
||||||
|
cfgdir = $(CDE_INSTALLATION_TOP)/config
|
||||||
|
dist_cfg_DATA = dtterm.ti
|
||||||
|
|
||||||
Dtterm.ad: Dtterm.ad.src
|
Dtterm.ad: Dtterm.ad.src
|
||||||
$(RM) $@
|
$(RM) $@
|
||||||
$(GENCPP) -P -DXCOMM=# $< > $@
|
$(GENCPP) -P -DXCOMM=# $< > $@
|
||||||
|
|
|
@ -3,3 +3,8 @@ MAINTAINERCLEANFILES = Makefile.in
|
||||||
include ../../templates/C.am
|
include ../../templates/C.am
|
||||||
include ../../templates/config.am
|
include ../../templates/config.am
|
||||||
|
|
||||||
|
# Setup a symlink from C -> en_US.UTF-8
|
||||||
|
install-data-hook:
|
||||||
|
$(RM) $(DESTDIR)$(CDE_INSTALLATION_TOP)/config/en_US.UTF-8
|
||||||
|
cd $(DESTDIR)$(CDE_INSTALLATION_TOP)/config/ && $(LN_S) C en_US.UTF-8
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
|
|
||||||
BUILT_SOURCES = sys.resources sys.session sys.font sys.dtwmrc \
|
BUILT_SOURCES = sys.resources sys.session sys.font sys.dtwmrc \
|
||||||
Xresources dtfile.config home.session current.session \
|
Xresources dtfile.config home.session current.session \
|
||||||
display.home.session display.current.session
|
display.home.session display.current.session 0100.session \
|
||||||
|
0120.session 0140.session 0160.session
|
||||||
|
|
||||||
if SOLARIS
|
if SOLARIS
|
||||||
BUILT_SOURCES += Xresources.ow
|
BUILT_SOURCES += Xresources.ow
|
||||||
|
@ -14,10 +15,37 @@ endif
|
||||||
|
|
||||||
CLEANFILES = $(BUILT_SOURCES)
|
CLEANFILES = $(BUILT_SOURCES)
|
||||||
|
|
||||||
|
cfgmaindir = $(CDE_INSTALLATION_TOP)/config/$(LANG)
|
||||||
|
dist_cfgmain_DATA = dtfile.config sys.dtwmrc sys.resources Xresources \
|
||||||
|
sys.font sys.session
|
||||||
|
|
||||||
|
cfgrsrcdir = $(CDE_INSTALLATION_TOP)/config/$(LANG)/Xresources.d
|
||||||
|
dist_cfgrsrc_DATA = 0100.session 0120.session 0140.session \
|
||||||
|
0160.session
|
||||||
|
|
||||||
TOP = $(top_builddir)/programs
|
TOP = $(top_builddir)/programs
|
||||||
MERGE = $(top_builddir)/programs/localized/util/merge
|
MERGE = $(top_builddir)/programs/localized/util/merge
|
||||||
|
|
||||||
|
# these are the names these 4 file are really installed as, so create
|
||||||
|
# symlinks to them for installation
|
||||||
|
0100.session: current.session
|
||||||
|
$(RM) $@
|
||||||
|
$(LN_S) $< $@
|
||||||
|
|
||||||
|
0120.session: home.session
|
||||||
|
$(RM) $@
|
||||||
|
$(LN_S) $< $@
|
||||||
|
|
||||||
|
0140.session: display.current.session
|
||||||
|
$(RM) $@
|
||||||
|
$(LN_S) $< $@
|
||||||
|
|
||||||
|
0160.session: display.home.session
|
||||||
|
$(RM) $@
|
||||||
|
$(LN_S) $< $@
|
||||||
|
|
||||||
|
|
||||||
|
# these are the real targets
|
||||||
sys.resources: $(TOP)/dtsession/sys.resources sys.resources.tmsg
|
sys.resources: $(TOP)/dtsession/sys.resources sys.resources.tmsg
|
||||||
$(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
|
$(MERGE) -lang $(LANG) $@.tmsg < $< > $@ || $(RM) $@
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue