IPB
>  Man Pages > Linux > openSUSE 10.2 > Section 3 > ExtUtils::Manifest man page

ExtUtils::Manifest man page

Section 3 - openSUSE 10.2 Man Pages

Other operating system man pages available here


Advanced Search

Hopefully, this page is exactly what you are looking for, but if not, you can always find further assistance on Unix/Linux Forum!


ExtUtils::Manifest(3pm)Perl Programmers Reference GuideExtUtils::Manifest(3pm)



NAME
       ExtUtils::Manifest - utilities to write and check a MANIFEST file

SYNOPSIS
           use ExtUtils::Manifest qw(...funcs to import...);

           mkmanifest();

           my @missing_files    = manicheck;
           my @skipped          = skipcheck;
           my @extra_files      = filecheck;
           my($missing, $extra) = fullcheck;

           my $found    = manifind();

           my $manifest = maniread();

           manicopy($read,$target);

           maniadd({$file => $comment, ...});

DESCRIPTION
       Functions

       ExtUtils::Manifest exports no functions by default.  The following are
       exported on request

       mkmanifest
               mkmanifest();

           Writes all files in and below the current directory to your MANI-
           FEST.  It works similar to

               find . > MANIFEST

           All files that match any regular expression in a file MANIFEST.SKIP
           (if it exists) are ignored.

           Any existing MANIFEST file will be saved as MANIFEST.bak.  Lines
           from the old MANIFEST file is preserved, including any comments
           that are found in the existing MANIFEST file in the new one.

       manifind
               my $found = manifind();

           returns a hash reference. The keys of the hash are the files found
           below the current directory.

       manicheck
               my @missing_files = manicheck();

           checks if all the files within a "MANIFEST" in the current direc-
           tory really do exist. If "MANIFEST" and the tree below the current
           directory are in sync it silently returns an empty list.  Otherwise
           it returns a list of files which are listed in the "MANIFEST" but
           missing from the directory, and by default also outputs these names
           to STDERR.

       filecheck
               my @extra_files = filecheck();

           finds files below the current directory that are not mentioned in
           the "MANIFEST" file. An optional file "MANIFEST.SKIP" will be con-
           sulted. Any file matching a regular expression in such a file will
           not be reported as missing in the "MANIFEST" file. The list of any
           extraneous files found is returned, and by default also reported to
           STDERR.

       fullcheck
               my($missing, $extra) = fullcheck();

           does both a manicheck() and a filecheck(), returning then as two
           array refs.

       skipcheck
               my @skipped = skipcheck();

           lists all the files that are skipped due to your "MANIFEST.SKIP"
           file.

       maniread
               my $manifest = maniread();
               my $manifest = maniread($manifest_file);

           reads a named "MANIFEST" file (defaults to "MANIFEST" in the cur-
           rent directory) and returns a HASH reference with files being the
           keys and comments being the values of the HASH.  Blank lines and
           lines which start with "#" in the "MANIFEST" file are discarded.

       manicopy
               manicopy(\%src, $dest_dir);
               manicopy(\%src, $dest_dir, $how);

           Copies the files that are the keys in %src to the $dest_dir.  %src
           is typically returned by the maniread() function.

               manicopy( maniread(), $dest_dir );

           This function is useful for producing a directory tree identical to
           the intended distribution tree.

           $how can be used to specify a different methods of "copying".
           Valid values are "cp", which actually copies the files, "ln" which
           creates hard links, and "best" which mostly links the files but
           copies any symbolic link to make a tree without any symbolic link.
           "cp" is the default.

       maniadd
             maniadd({ $file => $comment, ...});

           Adds an entry to an existing MANIFEST unless its already there.

           $file will be normalized (ie. Unixified).  UNIMPLEMENTED

       MANIFEST

       A list of files in the distribution, one file per line.  The MANIFEST
       always uses Unix filepath conventions even if you're not on Unix.  This
       means foo/bar style not foo\bar.

       Anything between white space and an end of line within a "MANIFEST"
       file is considered to be a comment.  Any line beginning with # is also
       a comment.

           # this a comment
           some/file
           some/other/file            comment about some/file

       MANIFEST.SKIP

       The file MANIFEST.SKIP may contain regular expressions of files that
       should be ignored by mkmanifest() and filecheck(). The regular expres-
       sions should appear one on each line. Blank lines and lines which start
       with "#" are skipped.  Use "\#" if you need a regular expression to
       start with a "#".

       For example:

           # Version control files and dirs.
           \bRCS\b
           \bCVS\b
           ,v$
           \B\.svn\b

           # Makemaker generated files and dirs.
           ^MANIFEST\.
           ^Makefile$
           ^blib/
           ^MakeMaker-\d

           # Temp, old and emacs backup files.
           ~$
           \.old$
           ^#.*#$
           ^\.#

       If no MANIFEST.SKIP file is found, a default set of skips will be used,
       similar to the example above.  If you want nothing skipped, simply make
       an empty MANIFEST.SKIP file.

       EXPORT_OK

       &mkmanifest, &manicheck, &filecheck, &fullcheck, &maniread, and &mani-
       copy are exportable.

       GLOBAL VARIABLES

       $ExtUtils::Manifest::MANIFEST defaults to "MANIFEST". Changing it
       results in both a different "MANIFEST" and a different "MANIFEST.SKIP"
       file. This is useful if you want to maintain different distributions
       for different audiences (say a user version and a developer version
       including RCS).

       $ExtUtils::Manifest::Quiet defaults to 0. If set to a true value, all
       functions act silently.

       $ExtUtils::Manifest::Debug defaults to 0.  If set to a true value, or
       if PERL_MM_MANIFEST_DEBUG is true, debugging output will be produced.

DIAGNOSTICS
       All diagnostic output is sent to "STDERR".

       "Not in MANIFEST:" file
           is reported if a file is found which is not in "MANIFEST".

       "Skipping" file
           is reported if a file is skipped due to an entry in "MANI-
           FEST.SKIP".

       "No such file:" file
           is reported if a file mentioned in a "MANIFEST" file does not
           exist.

       "MANIFEST:" $!
           is reported if "MANIFEST" could not be opened.

       "Added to MANIFEST:" file
           is reported by mkmanifest() if $Verbose is set and a file is added
           to MANIFEST. $Verbose is set to 1 by default.

ENVIRONMENT
       PERL_MM_MANIFEST_DEBUG
           Turns on debugging

SEE ALSO
       ExtUtils::MakeMaker which has handy targets for most of the functional-
       ity.

AUTHOR
       Andreas Koenig "andreas.koenig@anima.de"

       Currently maintained by Michael G Schwern "schwern@pobox.com"



perl v5.8.8                       2001-09-21           ExtUtils::Manifest(3pm)


Man(1) output converted with man2html and wrapped by fishsponge

This page was generated on Sat Sep 8 16:38:24 GMT 2007

Your favourite pages:

No pages logged yet.
Trying to save cookie...

Top 10 most popular pages:

svn man page (6161 hits)
(FreeBSD 6.2)

sqlite3 man page (5598 hits)
(openSUSE 10.2)

adv_cap_autoneg man page (5045 hits)
(Solaris 10 11_06)

CPAN man page (4791 hits)
(Suse Linux 10.1)

ssh man page (4439 hits)
(Suse Linux 10.1)

ssh-socks5-proxy-connect man page (3525 hits)
(Solaris 10 11_06)

signal man page (3394 hits)
(Suse Linux 10.1)

netcat man page (3373 hits)
(Suse Linux 10.1)

pprosetup man page (2886 hits)
(Solaris 10 11_06)

startproc man page (2738 hits)
(Suse Linux 10.1)

Useful Links

Go Back

Visitor Statistics


Valid XHTML 1.0 Transitional     Valid CSS!

Partners: Cambridge Plus :: PYRENEES GOLF HOLIDAYS :: PIC Circuit Design Bedfordshire :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum