Blob Blame History Raw
--- Makefile.PL
+++ Makefile.PL
@@ -62,6 +62,12 @@ EOP
           or die "Can't deduce Perl int size";
   $define .= ' -DLONG_SHORTER_THAN_IV' if $perl_int_size > $longsize;
   $define .= ' -Derr=pari_err'; # On linux it can get a wrong dynamic loading
+
+  # We want to build the docs and the test suite even though we're using the system pari lib
+  build_tests $paridir;		# Convert the test suite
+  make_pod 'libPARI.pod', '-to_pod', $paridir; # Now the docs
+  make_pod 'libPARI.dumb.pod', '-to_dumb_pod', $paridir;
+
 } else {
   $paridir   = find_pari_dir() unless defined $paridir or $parisrc or $force_download;
   ($paridir, my @patch_rc) = download_and_patch_pari($parisrc, $force_download)