summaryrefslogtreecommitdiff
path: root/Makefile.SH
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-11 22:07:01 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-11 22:12:30 +0100
commitebca06e95b02d1a8cf073328af30c9f4b9af6891 (patch)
tree28fd7289ec262f32fd2389eed1736f8e8019d177 /Makefile.SH
parentdba3d646d21716f1dbbeb5e0e7ba484a1e782f0f (diff)
downloadperl-ebca06e95b02d1a8cf073328af30c9f4b9af6891.tar.gz
No need to run AutoSplit on lib - all AutoLoader using modules are in ext.
It seems that the code in the Makefile to run AutoSplit over lib has actually been vestigial since some point *before* 5.000. Presumably, initially, Perl code for extensions was in lib, and autosplit (the precursor to AutoSplit.pm) was run on them there. Or they were copied from ext to lib first, before splitting. Fifteen year-old backup tapes refuse to give us the detailed history of the pre-5.000 period. Whatever the cause, the code was never needed - backed up by the absense of any analgous code in the Win32 Makefiles. So remove it. This happens to also remove the only use of the shell script makedir, so remove it too.
Diffstat (limited to 'Makefile.SH')
-rw-r--r--Makefile.SH10
1 files changed, 1 insertions, 9 deletions
diff --git a/Makefile.SH b/Makefile.SH
index 76c5aba464..3d979a6c95 100644
--- a/Makefile.SH
+++ b/Makefile.SH
@@ -944,16 +944,8 @@ esac
$spitshell >>$Makefile <<'!NO!SUBS!'
-# We have to call our ./makedir because Ultrix 4.3 make can't handle the line
-# test -d lib/auto || mkdir lib/auto
-# We need to autosplit in two steps because VOS can't handle so many args
-#
.PHONY: preplibrary
-preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
- @sh ./makedir lib/auto
- @echo " AutoSplitting perl library"
- $(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib -MAutoSplit -MFile::Find -e 'find ({no_chdir=>1, wanted => sub {autosplit_lib_modules($$_) if /\.pm$$/}}, "lib")'
- $(MAKE) lib/re.pm
+preplibrary: miniperl$(EXE_EXT) $(CONFIGPM) lib/lib.pm lib/re.pm $(PREPLIBRARY_LIBPERL)
$(CONFIGPM_FROM_CONFIG_SH) $(CONFIGPOD): config.sh miniperl$(EXE_EXT) configpm Porting/Glossary lib/Config_git.pl
$(LDLIBPTH) $(RUN) ./miniperl$(EXE_EXT) -Ilib configpm