From 6015b98168cb1450bfe0837cebabf14cb12d7ece Mon Sep 17 00:00:00 2001 From: hno <> Date: Fri, 15 Nov 2002 20:08:26 +0000 Subject: [PATCH] Bugzilla #453: make uninstall should not remove squid.conf --- src/Makefile.am | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 56527708d0..51b9313ebb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,7 +1,7 @@ # # Makefile for the Squid Object Cache server # -# $Id: Makefile.am,v 1.41 2002/10/25 03:13:51 robertc Exp $ +# $Id: Makefile.am,v 1.42 2002/11/15 13:08:26 hno Exp $ # # Uncomment and customize the following to suit your needs: # @@ -401,10 +401,12 @@ uninstall-local: echo "rm -f $(DESTDIR)$(DEFAULT_MIME_TABLE)"; \ $(RM) -f $(DESTDIR)$(DEFAULT_MIME_TABLE); \ fi - @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \ - echo "rm -f $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \ - $(RM) -f $(DESTDIR)$(DEFAULT_CONFIG_FILE); \ - fi + +# Don't automatically uninstall config files +# @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \ +# echo "rm -f $(DESTDIR)$(DEFAULT_CONFIG_FILE)"; \ +# $(RM) -f $(DESTDIR)$(DEFAULT_CONFIG_FILE); \ +# fi DISTCLEANFILES = cf_gen_defines.h cf.data cf_parser.h squid.conf.default \ globals.c string_arrays.c repl_modules.cc auth_modules.cc store_modules.cc -- 2.47.3