Commit cc4cacc3 authored by Per Cederqvist's avatar Per Cederqvist

(EXTRA_DIST): Added aux-items.conf.

(uninstall-local): Remove config, but only if it isn't modified.
parent f4463fc8
# $Id: Makefile.am,v 1.7 1999/09/18 19:33:09 ceder Exp $
# $Id: Makefile.am,v 1.8 2001/09/29 15:43:09 ceder Exp $
# Copyright (C) 1998-1999 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -27,7 +27,7 @@ bin_SCRIPTS = savecore
# config should be in sysconf_DATA, but we don't want to install it on
# top of any configuration that the user may have edited.
sysconf_DATA = aux-items.conf
EXTRA_DIST = config .cvsignore savecore.sh
EXTRA_DIST = config .cvsignore savecore.sh aux-items.conf
MOSTLYCLEANFILES = savecore
......@@ -40,3 +40,9 @@ install-data-local: installdirs
test -f $(DESTDIR)$(sysconfdir)/config \
|| $(INSTALL_DATA) $(srcdir)/config \
$(DESTDIR)$(sysconfdir)/config
uninstall-local:
## Remove config, but only if it hasn't been locally modified.
if cmp $(srcdir)/config $(DESTDIR)$(sysconfdir)/config ; \
then \
$(RM) $(DESTDIR)$(sysconfdir)/config ; \
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment