summaryrefslogtreecommitdiff
path: root/Cross
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 /Cross
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 'Cross')
-rwxr-xr-xCross/Makefile-cross-SH13
1 files changed, 1 insertions, 12 deletions
diff --git a/Cross/Makefile-cross-SH b/Cross/Makefile-cross-SH
index 616607d65c..d5bbef58e3 100755
--- a/Cross/Makefile-cross-SH
+++ b/Cross/Makefile-cross-SH
@@ -726,19 +726,8 @@ fi
$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 $(CONFIGPM) lib/lib.pm $(PREPLIBRARY_LIBPERL)
- @sh ./makedir lib/auto
- @echo " AutoSplitting perl library"
- $(LDLIBPTH) ./miniperl -Ilib -MCross -e 'use AutoSplit; \
- autosplit_lib_modules(@ARGV)' lib/*.pm
- $(LDLIBPTH) ./miniperl -Ilib -MCross -e 'use AutoSplit; \
- autosplit_lib_modules(@ARGV)' lib/*/*.pm
- $(MAKE) lib/re.pm
+preplibrary: miniperl $(CONFIGPM) lib/lib.pm lib/re.pm $(PREPLIBRARY_LIBPERL)
.PHONY: makeppport
makeppport: miniperl$(EXE_EXT) $(CONFIGPM)