1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-14 20:22:21 +00:00

Look over the install rules and adjust where appropriate

These are just minor tweaks to make sure the 'make install' part does
what it is supposed to do.  I also removed some commented code in the
dtmail Makefile related to SunOS, as that is not currently suppoerted
anyway.
This commit is contained in:
Jon Trulson 2021-12-15 15:33:32 -07:00
parent b55897489f
commit 05fa4044f4
4 changed files with 5 additions and 31 deletions

View file

@ -46,4 +46,4 @@ dtcm_editor_SOURCES = datefield.c deskset.c dssw.c \
reminders.c rfp.c
install-exec-hook:
mkdir -p $(DESTDIR)/var/spool/calendar
$(INSTALL) -m 0755 -d $(DESTDIR)/var/spool/calendar

View file

@ -8,34 +8,7 @@ dtmail_CXXFLAGS = -I../include -I../include/MotifApp -I../include/utils \
-DDTMAIL_TOOLTALK -DDTEDITOR
dtmail_LDADD = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a -lXm \
@DTCLIENTLIBS@ $(XTOOLLIB) $(TIRPCLIB)
# FIXME solaris....
#if SOLARIS
#dtmail_LDFLAGS = -lw
#if SUNPRODIR
#SUNPRO_DIR = SUNPRODIR
#else
#SUNPRO_DIR = /opt/SUNWspro
#endif
#C++LIBPATH = -L$(SUNPRO_DIR)/lib
#
#if USE_SPRO_V3
#SPRO_V3_OPTIONS = -noex -USPRO_V2
#if DEBUGTREE
#3SPRO_V3_OPTIONS += -xsb
#endif
#else
#EXTRA_CCOPTIONS += -DSPRO_V2
#endif
#
#EXTRA_C++OPTIONS = -xF +w $(SPRO_V3_OPTIONS)
#EXTRA_CCOPTIONS = -xF -xstrconst -Xa -v
#if USE_EDITRES
#EXTRA_LIBRARIES = $(XMULIB) ExtraLibraries
#endif
#endif SOLARIS
$(DTCLIENTLIBS) $(XTOOLLIB) $(TIRPCLIB)
dtmail_SOURCES = AliasListUiItem.C AlternatesListUiItem.C \
AntiCheckBoxUiItem.C AttachArea.C \
@ -71,7 +44,7 @@ dtmail_SOURCES = AliasListUiItem.C AlternatesListUiItem.C \
dtb_utils.C options_stubs.C \
options_ui.C options_util.C
# can't use INSTALL here as the file is already installed
install-exec-hook:
chown root $(DESTDIR)$(bindir)/dtmail
chgrp mail $(DESTDIR)$(bindir)/dtmail
chmod 2755 $(DESTDIR)$(bindir)/dtmail

View file

@ -12,6 +12,7 @@ endif
dtappgather_SOURCES = Options.C dtappgather.C dtappgather.h Options.h
# can't use INSTALL here as the program is already installed
install-exec-hook:
chown root $(DESTDIR)$(bindir)/dtappgather
chmod 4755 $(DESTDIR)$(bindir)/dtappgather

View file

@ -131,10 +131,10 @@ sys.session.ive: sys.session.src
# systems without a PAM library need dtsession to be SUID root
install-exec-hook:
chown root $(DESTDIR)$(bindir)/dtsession
if HAS_PAM_LIBRARY
chmod 755 $(DESTDIR)$(bindir)/dtsession
else
chown root $(DESTDIR)$(bindir)/dtsession
chmod 4755 $(DESTDIR)$(bindir)/dtsession
endif