From 0883d42a315a99cbf323562c4505980fae7bb49e Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Mon, 2 Jan 2006 12:52:23 +0000 Subject: Updated Corrected make distcheck issue. 2006-01-02 Brian Cameron * configure.ac: Updated * config/Makefile.am: Corrected make distcheck issue. --- ChangeLog | 1 + config/Makefile.am | 11 +++++++---- configure.ac | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index cd713f51..83f0907c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * Release 2.13.0.4: * NEWS, configure.ac: Updated + * config/Makefile.am: Corrected make distcheck issue. * docs/C/gdm.xml: Updated version/date. 2005-12-24 Brian Cameron diff --git a/config/Makefile.am b/config/Makefile.am index aef9238f..b12764d6 100644 --- a/config/Makefile.am +++ b/config/Makefile.am @@ -13,12 +13,13 @@ postdir = $(sysconfdir)/gdm/PostSession predir = $(sysconfdir)/gdm/PreSession postlogindir = $(sysconfdir)/gdm/PostLogin -noinst_DATA = gdm.conf gdm.conf-custom +noinst_DATA = gdm.conf DESKTOP_FILES = default.desktop CDE.desktop gnome.desktop EXTRA_DIST = \ gdm.conf.in \ + gdm.conf-custom \ $(DESKTOP_FILES) \ default.desktop.in \ gnome.desktop.in \ @@ -61,7 +62,7 @@ uninstall-hook: $(DESTDIR)$(predir)/Default \ $(DESTDIR)$(postdir)/Default -install-data-hook: gdm.conf Xsession gnome.desktop default.desktop CDE.desktop Init PostSession PreSession +install-data-hook: gdm.conf gdm.conf-custom Xsession gnome.desktop default.desktop CDE.desktop Init PostSession PreSession if test '!' -d $(DESTDIR)$(confdir); then \ $(mkinstalldirs) $(DESTDIR)$(confdir); \ chmod 755 $(DESTDIR)$(confdir); \ @@ -74,17 +75,19 @@ install-data-hook: gdm.conf Xsession gnome.desktop default.desktop CDE.desktop I $(mkinstalldirs) $(DESTDIR)$(gdmconfdir); \ chmod 755 $(DESTDIR)$(gdmconfdir); \ fi - -if ! cmp -s $(DESTDIR)$(gdmconfdir)/gdm.conf $(DESTDIR)$(gdmconfdir)/factory-gdm.conf > /dev/null 2>&1 ; then \ + if test -f $(DESTDIR)$(gdmconfdir)/gdm.conf; then \ + if ! cmp -s $(DESTDIR)$(gdmconfdir)/gdm.conf $(DESTDIR)$(gdmconfdir)/factory-gdm.conf > /dev/null 2>&1 ; then \ if test '!' -f $(DESTDIR)$(gdmconfdir)/gdm.conf-custom; then \ cp -f $(DESTDIR)$(gdmconfdir)/gdm.conf $(DESTDIR)$(gdmconfdir)/gdm.conf-custom; \ else \ cp -f $(DESTDIR)$(gdmconfdir)/gdm.conf $(DESTDIR)$(gdmconfdir)/gdm.conf.org; \ fi; \ + fi; \ fi $(INSTALL_DATA) gdm.conf $(DESTDIR)$(gdmconfdir)/gdm.conf chmod 444 $(DESTDIR)$(gdmconfdir)/gdm.conf if test '!' -f $(DESTDIR)$(gdmconfdir)/gdm.conf-custom; then \ - $(INSTALL_DATA) gdm.conf-custom $(DESTDIR)$(gdmconfdir)/gdm.conf-custom; \ + $(INSTALL_DATA) $(srcdir)/gdm.conf-custom $(DESTDIR)$(gdmconfdir)/gdm.conf-custom; \ chmod 644 $(DESTDIR)$(gdmconfdir)/gdm.conf-custom; \ fi $(INSTALL_DATA) gdm.conf $(DESTDIR)$(gdmconfdir)/factory-gdm.conf diff --git a/configure.ac b/configure.ac index c265c31d..9f9bf6b1 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ(2.52) AC_INIT(daemon/gdm.h) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(gdm,2.13.0.3) +AM_INIT_AUTOMAKE(gdm,2.13.0.4) AC_CONFIG_MACRO_DIR([m4]) AM_MAINTAINER_MODE -- cgit v1.2.1