From: Chris Hanson Date: Sun, 13 May 2007 12:22:47 +0000 (+0000) Subject: Fix bug: "Makefile.in" is cleaned by maintainer-clean, not by X-Git-Tag: 20090517-FFI~570 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=51bcd99969327ec1c8e05c54ae4894d134eacb28;p=mit-scheme.git Fix bug: "Makefile.in" is cleaned by maintainer-clean, not by distclean. --- diff --git a/v7/src/etc/Clean.sh b/v7/src/etc/Clean.sh index 61e13be6e..79f90dafa 100755 --- a/v7/src/etc/Clean.sh +++ b/v7/src/etc/Clean.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Id: Clean.sh,v 1.21 2007/05/09 20:01:37 cph Exp $ +# $Id: Clean.sh,v 1.22 2007/05/13 12:22:47 cph Exp $ # # Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, # 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, @@ -70,9 +70,6 @@ if [ ${DIST} = yes ]; then if [ -f Makefile.in ]; then maybe_rm Makefile fi - if [ -f Makefile-fragment ]; then - maybe_rm Makefile.in - fi fi if [ ${MAINTAINER} = yes ]; then @@ -81,6 +78,9 @@ if [ ${MAINTAINER} = yes ]; then for FN in Clean.sh Setup.sh Stage.sh Tags.sh; do maybe_unlink "${FN}" "${TOPDIR}/etc/${FN}" done + if [ -f Makefile-fragment ]; then + maybe_rm Makefile.in + fi fi for KEYWORD in ${KEYWORDS}; do