# perl$(EXE_EXT) and ext because buildtoc uses Text::Wrap uses re
# But also this ensures that all extensions are built before we try to scan
# them, which picks up Devel::PPPort's documentation.
-pod/perltoc.pod: $(perltoc_pod_prereqs) perl$(EXE_EXT) ext pod/buildtoc
+pod/perltoc.pod: $(perltoc_pod_prereqs) perl$(EXE_EXT) $(ext) pod/buildtoc
$(RUN) ./perl$(EXE_EXT) -Ilib pod/buildtoc --build-toc -q
pod/perlapi.pod pod/perlintern.pod: miniperl$(EXE_EXT) autodoc.pl embed.fnc
[.pod]perlapi.pod [.pod]perlintern.pod : miniperl embed.fnc autodoc.pl $(MINIPERL_EXE)
$(MINIPERL) autodoc.pl
-[.pod]perltoc.pod: [.pod]perlapi.pod [.pod]perlintern.pod extra.pods $(PERL_EXE) EXT
+[.pod]perltoc.pod: [.pod]perlapi.pod [.pod]perlintern.pod extra.pods $(PERL_EXE) $(EXT)
$(PERL) [.pod]perltoc "-q" "--build-toc"
archcorefiles : $(ac) $(ARCHAUTO)time.stamp