mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +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:
parent
b55897489f
commit
05fa4044f4
4 changed files with 5 additions and 31 deletions
|
@ -46,4 +46,4 @@ dtcm_editor_SOURCES = datefield.c deskset.c dssw.c \
|
||||||
reminders.c rfp.c
|
reminders.c rfp.c
|
||||||
|
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
mkdir -p $(DESTDIR)/var/spool/calendar
|
$(INSTALL) -m 0755 -d $(DESTDIR)/var/spool/calendar
|
||||||
|
|
|
@ -8,34 +8,7 @@ dtmail_CXXFLAGS = -I../include -I../include/MotifApp -I../include/utils \
|
||||||
-DDTMAIL_TOOLTALK -DDTEDITOR
|
-DDTMAIL_TOOLTALK -DDTEDITOR
|
||||||
|
|
||||||
dtmail_LDADD = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a -lXm \
|
dtmail_LDADD = ../libDtMail/libDtMail.a ../MotifApp/libMotifApp.a -lXm \
|
||||||
@DTCLIENTLIBS@ $(XTOOLLIB) $(TIRPCLIB)
|
$(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
|
|
||||||
|
|
||||||
|
|
||||||
dtmail_SOURCES = AliasListUiItem.C AlternatesListUiItem.C \
|
dtmail_SOURCES = AliasListUiItem.C AlternatesListUiItem.C \
|
||||||
AntiCheckBoxUiItem.C AttachArea.C \
|
AntiCheckBoxUiItem.C AttachArea.C \
|
||||||
|
@ -71,7 +44,7 @@ dtmail_SOURCES = AliasListUiItem.C AlternatesListUiItem.C \
|
||||||
dtb_utils.C options_stubs.C \
|
dtb_utils.C options_stubs.C \
|
||||||
options_ui.C options_util.C
|
options_ui.C options_util.C
|
||||||
|
|
||||||
|
# can't use INSTALL here as the file is already installed
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
chown root $(DESTDIR)$(bindir)/dtmail
|
|
||||||
chgrp mail $(DESTDIR)$(bindir)/dtmail
|
chgrp mail $(DESTDIR)$(bindir)/dtmail
|
||||||
chmod 2755 $(DESTDIR)$(bindir)/dtmail
|
chmod 2755 $(DESTDIR)$(bindir)/dtmail
|
||||||
|
|
|
@ -12,6 +12,7 @@ endif
|
||||||
|
|
||||||
dtappgather_SOURCES = Options.C dtappgather.C dtappgather.h Options.h
|
dtappgather_SOURCES = Options.C dtappgather.C dtappgather.h Options.h
|
||||||
|
|
||||||
|
# can't use INSTALL here as the program is already installed
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
chown root $(DESTDIR)$(bindir)/dtappgather
|
chown root $(DESTDIR)$(bindir)/dtappgather
|
||||||
chmod 4755 $(DESTDIR)$(bindir)/dtappgather
|
chmod 4755 $(DESTDIR)$(bindir)/dtappgather
|
||||||
|
|
|
@ -131,10 +131,10 @@ sys.session.ive: sys.session.src
|
||||||
# systems without a PAM library need dtsession to be SUID root
|
# systems without a PAM library need dtsession to be SUID root
|
||||||
|
|
||||||
install-exec-hook:
|
install-exec-hook:
|
||||||
chown root $(DESTDIR)$(bindir)/dtsession
|
|
||||||
if HAS_PAM_LIBRARY
|
if HAS_PAM_LIBRARY
|
||||||
chmod 755 $(DESTDIR)$(bindir)/dtsession
|
chmod 755 $(DESTDIR)$(bindir)/dtsession
|
||||||
else
|
else
|
||||||
|
chown root $(DESTDIR)$(bindir)/dtsession
|
||||||
chmod 4755 $(DESTDIR)$(bindir)/dtsession
|
chmod 4755 $(DESTDIR)$(bindir)/dtsession
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue