blob: 995904f4653d36d4db42c5e77b6c823d9e3b7c61 [file] [log] [blame] [edit]
diff --git a/installman b/installman
index 0154be4..e53fc8c 100644
--- a/installman
+++ b/installman
@@ -1,7 +1,9 @@
#!./perl -w
BEGIN {
- @INC = qw(lib);
+ chdir '..' if !-d 'lib' and -d '../lib';
+ @INC = 'lib';
+ $ENV{PERL5LIB} = 'lib';
# This needs to be at BEGIN time, before any use of Config
# install_lib itself loads and imports Config into main::
@@ -154,7 +156,7 @@ sub pod2man {
next;
}
- if ($^O eq 'os2' || $^O eq 'amigaos' || $^O eq 'uwin' || $^O eq 'cygwin') {
+ if ($^O eq 'os2' || $^O eq 'amigaos' || $^O eq 'uwin' || $^O eq 'cygwin' || $^O eq 'MSWin32' ) {
$manpage =~ s#::#.#g;
}
my $tmp = "${mandir}/${manpage}.tmp";
diff --git a/win32/GNUmakefile b/win32/GNUmakefile
index 15a1658..4f241a1 100644
--- a/win32/GNUmakefile
+++ b/win32/GNUmakefile
@@ -1863,7 +1863,14 @@ distclean: realclean
-if exist $(HTMLDIR) rmdir /s /q $(HTMLDIR)
-del /f ..\t\test_state
-install : all installbare installhtml
+install : all installbare installhtml installman
+
+install.bare : all installbare
+
+install.doc : all installhtml installman
+
+installman : ..\pod\perltoc.pod
+ $(PERLEXE) ..\installman
installbare : utils ..\pod\perltoc.pod
$(PERLEXE) ..\installperl
diff --git a/win32/makefile.mk b/win32/makefile.mk
index fcd06d7..2f7b04f 100644
--- a/win32/makefile.mk
+++ b/win32/makefile.mk
@@ -1781,7 +1781,14 @@ distclean: realclean
-if exist $(HTMLDIR) rmdir /s /q $(HTMLDIR)
-del /f ..\t\test_state
-install : all installbare installhtml
+install : all installbare installhtml installman
+
+install.bare : all installbare
+
+install.doc : all installhtml installman
+
+installman : ..\pod\perltoc.pod
+ $(PERLEXE) ..\installman
installbare : utils ..\pod\perltoc.pod
$(PERLEXE) ..\installperl
--
2.31.1.windows.1