summaryrefslogtreecommitdiffstats
path: root/upstream/mageia-cauldron/man3pm/ExtUtils::Command::MM.3pm
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/mageia-cauldron/man3pm/ExtUtils::Command::MM.3pm')
-rw-r--r--upstream/mageia-cauldron/man3pm/ExtUtils::Command::MM.3pm177
1 files changed, 177 insertions, 0 deletions
diff --git a/upstream/mageia-cauldron/man3pm/ExtUtils::Command::MM.3pm b/upstream/mageia-cauldron/man3pm/ExtUtils::Command::MM.3pm
new file mode 100644
index 00000000..a60d8e44
--- /dev/null
+++ b/upstream/mageia-cauldron/man3pm/ExtUtils::Command::MM.3pm
@@ -0,0 +1,177 @@
+.\" -*- mode: troff; coding: utf-8 -*-
+.\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43)
+.\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>.
+.ie n \{\
+. ds C` ""
+. ds C' ""
+'br\}
+.el\{\
+. ds C`
+. ds C'
+'br\}
+.\"
+.\" Escape single quotes in literal strings from groff's Unicode transform.
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\"
+.\" If the F register is >0, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
+.\" entries marked with X<> in POD. Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.\"
+.\" Avoid warning from groff about undefined register 'F'.
+.de IX
+..
+.nr rF 0
+.if \n(.g .if rF .nr rF 1
+.if (\n(rF:(\n(.g==0)) \{\
+. if \nF \{\
+. de IX
+. tm Index:\\$1\t\\n%\t"\\$2"
+..
+. if !\nF==2 \{\
+. nr % 0
+. nr F 2
+. \}
+. \}
+.\}
+.rr rF
+.\" ========================================================================
+.\"
+.IX Title "ExtUtils::Command::MM 3pm"
+.TH ExtUtils::Command::MM 3pm 2023-11-28 "perl v5.38.2" "Perl Programmers Reference Guide"
+.\" For nroff, turn off justification. Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.if n .ad l
+.nh
+.SH NAME
+ExtUtils::Command::MM \- Commands for the MM's to use in Makefiles
+.SH SYNOPSIS
+.IX Header "SYNOPSIS"
+.Vb 1
+\& perl "\-MExtUtils::Command::MM" \-e "function" "\-\-" arguments...
+.Ve
+.SH DESCRIPTION
+.IX Header "DESCRIPTION"
+\&\fBFOR INTERNAL USE ONLY!\fR The interface is not stable.
+.PP
+ExtUtils::Command::MM encapsulates code which would otherwise have to
+be done with large "one" liners.
+.PP
+Any $(FOO) used in the examples are make variables, not Perl.
+.IP \fBtest_harness\fR 4
+.IX Item "test_harness"
+.Vb 1
+\& test_harness($verbose, @test_libs);
+.Ve
+.Sp
+Runs the tests on \f(CW@ARGV\fR via Test::Harness passing through the \f(CW$verbose\fR
+flag. Any \f(CW@test_libs\fR will be unshifted onto the test's \f(CW@INC\fR.
+.Sp
+\&\f(CW@test_libs\fR are run in alphabetical order.
+.IP \fBpod2man\fR 4
+.IX Item "pod2man"
+.Vb 5
+\& pod2man( \*(Aq\-\-option=value\*(Aq,
+\& $podfile1 => $manpage1,
+\& $podfile2 => $manpage2,
+\& ...
+\& );
+\&
+\& # or args on @ARGV
+.Ve
+.Sp
+\&\fBpod2man()\fR is a function performing most of the duties of the pod2man
+program. Its arguments are exactly the same as pod2man as of 5.8.0
+with the addition of:
+.Sp
+.Vb 1
+\& \-\-perm_rw octal permission to set the resulting manpage to
+.Ve
+.Sp
+And the removal of:
+.Sp
+.Vb 2
+\& \-\-verbose/\-v
+\& \-\-help/\-h
+.Ve
+.Sp
+If no arguments are given to pod2man it will read from \f(CW@ARGV\fR.
+.Sp
+If Pod::Man is unavailable, this function will warn and return undef.
+.IP \fBwarn_if_old_packlist\fR 4
+.IX Item "warn_if_old_packlist"
+.Vb 1
+\& perl "\-MExtUtils::Command::MM" \-e warn_if_old_packlist <somefile>
+.Ve
+.Sp
+Displays a warning that an old packlist file was found. Reads the
+filename from \f(CW@ARGV\fR.
+.IP \fBperllocal_install\fR 4
+.IX Item "perllocal_install"
+.Vb 2
+\& perl "\-MExtUtils::Command::MM" \-e perllocal_install
+\& <type> <module name> <key> <value> ...
+\&
+\& # VMS only, key|value pairs come on STDIN
+\& perl "\-MExtUtils::Command::MM" \-e perllocal_install
+\& <type> <module name> < <key>|<value> ...
+.Ve
+.Sp
+Prints a fragment of POD suitable for appending to perllocal.pod.
+Arguments are read from \f(CW@ARGV\fR.
+.Sp
+\&'type' is the type of what you're installing. Usually 'Module'.
+.Sp
+\&'module name' is simply the name of your module. (Foo::Bar)
+.Sp
+Key/value pairs are extra information about the module. Fields include:
+.Sp
+.Vb 5
+\& installed into which directory your module was out into
+\& LINKTYPE dynamic or static linking
+\& VERSION module version number
+\& EXE_FILES any executables installed in a space separated
+\& list
+.Ve
+.IP \fBuninstall\fR 4
+.IX Item "uninstall"
+.Vb 1
+\& perl "\-MExtUtils::Command::MM" \-e uninstall <packlist>
+.Ve
+.Sp
+A wrapper around \fBExtUtils::Install::uninstall()\fR. Warns that
+uninstallation is deprecated and doesn't actually perform the
+uninstallation.
+.IP \fBtest_s\fR 4
+.IX Item "test_s"
+.Vb 1
+\& perl "\-MExtUtils::Command::MM" \-e test_s <file>
+.Ve
+.Sp
+Tests if a file exists and is not empty (size > 0).
+\&\fIExits\fR with 0 if it does, 1 if it does not.
+.IP \fBcp_nonempty\fR 4
+.IX Item "cp_nonempty"
+.Vb 1
+\& perl "\-MExtUtils::Command::MM" \-e cp_nonempty <srcfile> <dstfile> <perm>
+.Ve
+.Sp
+Tests if the source file exists and is not empty (size > 0). If it is not empty
+it copies it to the given destination with the given permissions.