From: Eli Zaretskii Date: Fri, 21 Dec 2001 11:40:15 +0000 (+0000) Subject: (distclean): Remove .gdbinit if we are building outside the source tree. X-Git-Tag: ttn-vms-21-2-B4~17566 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=966bda3ad5207fd2f88ba681019b8d37fd2a05e7;p=emacs.git (distclean): Remove .gdbinit if we are building outside the source tree. --- diff --git a/src/Makefile.in b/src/Makefile.in index 18d3e783e14..978e2b35dca 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1171,6 +1171,9 @@ clean: mostlyclean /**/# Do not use it on development directories! distclean: clean rm -f epaths.h config.h Makefile Makefile.c config.stamp stamp-oldxmenu ../etc/DOC-* + mv ./.gdbinit ./.gdbinit.save + if test -f "${srcdir}/.gdbinit"; then rm -f ./.gdbinit.save; \ + else mv ./.gdbinit.save ./.gdbinit; fi maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild."