diff options
author | Brian Cameron <bcameron@src.gnome.org> | 2003-06-11 09:50:57 +0000 |
---|---|---|
committer | Brian Cameron <bcameron@src.gnome.org> | 2003-06-11 09:50:57 +0000 |
commit | 58b8814244e72b763fca598639776292fef2ca43 (patch) | |
tree | 97390d20c1dca5062b435171dbef627b7fe06d29 /config/Makefile.am | |
parent | 998436c823f58e0fcdc1b9490c210ac6bea7dde0 (diff) | |
download | gdm-58b8814244e72b763fca598639776292fef2ca43.tar.gz |
Add support for logging into CDE sessions.
* config/CDE.desktop.in, config/Makefile.am: Add support for
logging into CDE sessions.
Diffstat (limited to 'config/Makefile.am')
-rw-r--r-- | config/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/config/Makefile.am b/config/Makefile.am index aa851245..b9665499 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -16,6 +16,7 @@ EXTRA_DIST = \ gdm.conf.in \ gnome.desktop.in \ Default.desktop.in \ + CDE.desktop.in \ Xsession.in \ gdm \ gdm-autologin \ @@ -33,7 +34,7 @@ gettextfoo.h: XKeepsCrashing @INTLTOOL_DESKTOP_RULE@ -install-data-hook: gdm.conf Xsession gnome.desktop Default.desktop Default PostSession PreSession +install-data-hook: gdm.conf Xsession gnome.desktop Default.desktop CDE.desktop Default PostSession PreSession if test '!' -d $(DESTDIR)$(confdir); then \ $(mkinstalldirs) $(DESTDIR)$(confdir); \ chmod 755 $(DESTDIR)$(confdir); \ @@ -70,6 +71,13 @@ install-data-hook: gdm.conf Xsession gnome.desktop Default.desktop Default PostS fi $(INSTALL_SCRIPT) gnome.desktop $(DESTDIR)$(sessdir)/gnome.desktop + -if test -f /usr/dt/bin/Xsession; then \ + if test -f $(DESTDIR)$(sessdir)/CDE.desktop; then \ + cp -f $(DESTDIR)$(sessdir)/CDE.desktop $(DESTDIR)$(sessdir)/CDE.orig; \ + fi; \ + $(INSTALL_SCRIPT) CDE.desktop $(DESTDIR)$(sessdir)/CDE.desktop; \ + fi + if test '!' -d $(DESTDIR)$(initdir); then \ $(mkinstalldirs) $(DESTDIR)$(initdir); \ chmod 755 $(DESTDIR)$(initdir); \ |