summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-09-12 21:14:39 +0100
committerNicholas Clark <nick@ccl4.org>2009-09-12 21:14:39 +0100
commit7d8fed6398d97e42f2986a11d11e90eec5abee46 (patch)
treeea824b11d593a3997236e5089aa226e5e73afd68 /win32
parent2451603626893a501c9436409c4aa7e19932c987 (diff)
downloadperl-7d8fed6398d97e42f2986a11d11e90eec5abee46.tar.gz
403f501d broke Win32, because lib/lib.pm is not available early enough.
Break ..\lib\lib.pm out from utils, and make Extensions_nonxs depend on it.
Diffstat (limited to 'win32')
-rw-r--r--win32/Makefile11
-rw-r--r--win32/makefile.mk8
2 files changed, 12 insertions, 7 deletions
diff --git a/win32/Makefile b/win32/Makefile
index 1b1f19b09a..ae8285f4cf 100644
--- a/win32/Makefile
+++ b/win32/Makefile
@@ -1073,7 +1073,7 @@ Extensions_static : ..\make_ext.pl list_static_libs.pl $(PERLDEP) $(CONFIGPM)
$(MINIPERL) -I..\lib ..\make_ext.pl "MAKE=$(MAKE)" --dir=$(EXTDIR) --static
$(MINIPERL) -I..\lib list_static_libs.pl > Extensions_static
-Extensions_nonxs: ..\make_ext.pl $(PERLDEP) $(CONFIGPM)
+Extensions_nonxs: ..\make_ext.pl $(PERLDEP) $(CONFIGPM) ..\lib\lib.pm
$(XCOPY) ..\*.h $(COREDIR)\*.*
$(MINIPERL) -I..\lib ..\make_ext.pl "MAKE=$(MAKE)" --dir=$(EXTDIR) --nonxs
@@ -1090,10 +1090,15 @@ doc: $(PERLEXE) ..\pod\perltoc.pod
--podpath=pod:lib:ext:utils --htmlroot="file://$(INST_HTML::=|)" \
--libpod=perlfunc:perlguts:perlvar:perlrun:perlop --recurse
+..\lib\lib.pm: $(PERLEXE)
+ cd ..\lib
+ $(PERLEXE) $(ICWD) lib_pm.PL
+ cd ..\win32
+
# Note that this next section is parsed (and regenerated) by pod/buildtoc
# so please check that script before making structural changes here
-utils: $(PERLEXE) $(X2P)
+utils: $(PERLEXE) $(X2P) Extensions_nonxs
cd ..\utils
$(MAKE) PERL=$(MINIPERL)
cd ..\pod
@@ -1137,8 +1142,6 @@ utils: $(PERLEXE) $(X2P)
copy ..\README.win32 ..\pod\perlwin32.pod
copy ..\pod\perl5110delta.pod ..\pod\perldelta.pod
$(MAKE) -f ..\win32\pod.mak converters
- cd ..\lib
- $(PERLEXE) $(ICWD) lib_pm.PL
cd ..\win32
$(PERLEXE) $(PL2BAT) $(UTILS)
$(PERLEXE) $(ICWD) ..\autodoc.pl ..
diff --git a/win32/makefile.mk b/win32/makefile.mk
index c4391325e4..2c71d6d91e 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -1402,7 +1402,7 @@ Extensions_static : ..\make_ext.pl list_static_libs.pl $(PERLDEP) $(CONFIGPM)
$(MINIPERL) -I..\lib ..\make_ext.pl "MAKE=$(MAKE)" --dir=$(EXTDIR) --static
$(MINIPERL) -I..\lib list_static_libs.pl > Extensions_static
-Extensions_nonxs : ..\make_ext.pl $(PERLDEP) $(CONFIGPM)
+Extensions_nonxs : ..\make_ext.pl $(PERLDEP) $(CONFIGPM) ..\lib\lib.pm
$(XCOPY) ..\*.h $(COREDIR)\*.*
$(MINIPERL) -I..\lib ..\make_ext.pl "MAKE=$(MAKE)" --dir=$(EXTDIR) --nonxs
@@ -1420,9 +1420,12 @@ doc: $(PERLEXE) ..\pod\perltoc.pod
--podpath=pod:lib:ext:utils --htmlroot="file://$(INST_HTML:s,:,|,)"\
--libpod=perlfunc:perlguts:perlvar:perlrun:perlop --recurse
+..\lib\lib.pm: $(PERLEXE)
+ cd ..\lib && $(PERLEXE) $(ICWD) lib_pm.PL
+
# Note that this next section is parsed (and regenerated) by pod/buildtoc
# so please check that script before making structural changes here
-utils: $(PERLEXE) $(X2P)
+utils: $(PERLEXE) $(X2P) Extensions_nonxs
cd ..\utils && $(MAKE) PERL=$(MINIPERL)
copy ..\README.aix ..\pod\perlaix.pod
copy ..\README.amiga ..\pod\perlamiga.pod
@@ -1464,7 +1467,6 @@ utils: $(PERLEXE) $(X2P)
copy ..\README.win32 ..\pod\perlwin32.pod
copy ..\pod\perl5110delta.pod ..\pod\perldelta.pod
cd ..\pod && $(MAKE) -f ..\win32\pod.mak converters
- cd ..\lib && $(PERLEXE) $(ICWD) lib_pm.PL
$(PERLEXE) $(PL2BAT) $(UTILS)
$(PERLEXE) $(ICWD) ..\autodoc.pl ..
$(PERLEXE) $(ICWD) ..\pod\perlmodlib.pl -q