diff options
author | Tony Cook <tony@develop-help.com> | 2014-10-07 10:33:58 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2014-11-05 11:32:18 +1100 |
commit | dd8235d9b0522b2a3b71bb7b2b312dccb50cbb36 (patch) | |
tree | 82e49204b8902628a685aa28d846ae30b0915726 | |
parent | 3415f8b9fb121a138ed954f9ced0b2c1f4660e48 (diff) | |
download | perl-dd8235d9b0522b2a3b71bb7b2b312dccb50cbb36.tar.gz |
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'
-rw-r--r-- | INSTALL | 5 | ||||
-rwxr-xr-x | Makefile.SH | 11 | ||||
-rw-r--r-- | Porting/pumpkin.pod | 6 |
3 files changed, 3 insertions, 19 deletions
@@ -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 72b40beba9..a55883dfad 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 a8c8fb0efd..0a6165f39c 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. |