In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/dd8235d9b0522b2a3b71bb7b2b312dccb50cbb36?hp=3415f8b9fb121a138ed954f9ced0b2c1f4660e48>

- Log -----------------------------------------------------------------
commit dd8235d9b0522b2a3b71bb7b2b312dccb50cbb36
Author: Tony Cook <[email protected]>
Date:   Tue Oct 7 10:33:58 2014 +1100

    change 'make clean' to be equivalent to 'make realclean'
    
    'make clean' hasn't been useful since at least 1997, change it to
    something that is useful, 'make realclean'
-----------------------------------------------------------------------

Summary of changes:
 INSTALL             |  5 ++---
 Makefile.SH         | 11 +----------
 Porting/pumpkin.pod |  6 ------
 3 files changed, 3 insertions(+), 19 deletions(-)

diff --git a/INSTALL b/INSTALL
index 9a63a5b..7b9c4e4 100644
--- a/INSTALL
+++ b/INSTALL
@@ -2363,9 +2363,8 @@ or
        make realclean
 
 The only difference between the two is that make distclean also removes
-your old config.sh and Policy.sh files.  (A plain 'make clean' will not
-delete the makefiles used for rebuilding perl, and will also not delete
-a number of library and utility files extracted during the build process.)
+your old config.sh and Policy.sh files.  (A plain 'make clean' is now
+eqivalent to 'make realclean'.)
 
 If you are upgrading from a previous version of perl, or if you
 change systems or compilers or make other significant changes, or if
diff --git a/Makefile.SH b/Makefile.SH
index 72b40be..a55883d 100755
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -1216,7 +1216,7 @@ printconfig:
        realclean _realcleaner clobber _clobber \
        distclean veryclean _verycleaner
 
-clean:         _tidy _mopup 
+clean:         realclean
 
 realclean:     _realcleaner _mopup
        @echo "Note that '$(MAKE) realclean' does not delete config.sh or 
Policy.sh"
@@ -1248,15 +1248,6 @@ _mopup:
        -rm -f $(PERL_EXE) $(MINIPERL_EXE) $(LIBPERL) libperl.* microperl
        -rm -f config.arch config.over $(DTRACE_H)
 
-# Do not 'make _tidy' directly.
-_tidy:
-       -cd pod; $(LDLIBPTH) $(MAKE) clean
-       -cd utils; $(LDLIBPTH) $(MAKE) clean
-       -rm -f lib/Config_git.pl git_version.h
-       -@for x in $(DYNALOADER) $(dynamic_ext) $(static_ext) $(nonxs_ext) ; do 
\
-       $(MINIPERL) make_ext.pl --target=clean $$x MAKE="$(MAKE)" ; \
-       done
-
 _cleaner1:
        -cd os2; rm -f Makefile
        -cd pod; $(LDLIBPTH) $(MAKE) $(CLEAN)
diff --git a/Porting/pumpkin.pod b/Porting/pumpkin.pod
index a8c8fb0..0a6165f 100644
--- a/Porting/pumpkin.pod
+++ b/Porting/pumpkin.pod
@@ -1265,12 +1265,6 @@ I've received sensible suggestions for --exec_prefix and 
other
 GNU configure --options.  It's not always obvious exactly what is
 intended, but this merits investigation.
 
-=item make clean
-
-Currently, B<make clean> isn't all that useful, though
-B<make realclean> and B<make distclean> are.  This needs a bit of
-thought and documentation before it gets cleaned up.
-
 =item Try gcc if cc fails
 
 Currently, we just give up.

--
Perl5 Master Repository

Reply via email to