"make" is a utility for managing programming projects.  The "Makefile" is a
script that tells make how to do stuff.

When you install a Perl module it looks like this:

perl Makefile.PL

>> This is a perl script that creates a file called "Makefile" based on your
configuration.

make

>> The program "make" reads the "Makefile" and builds whatever it is told to
build.  Generally this means it compiles what it needs to, makes some
directories, autosplits if it is directed to, checks to make sure
prerequisite modules are installed, etc.

make install

>> The program "make" reads the "Makefile" and reads the install section of
the script, and does what it is told to do.  Generally it just copies the
files it built in the last step to your Perl library.

make test

>> The program "make" reads the "Makefile" and reads the test section of the
script, and does what it is told to do... and that is to run some tests to
make sure the module was built correctly.


Rob

-----Original Message-----
From: Thunem, Tom [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 5:46 PM
To: '[EMAIL PROTECTED]'
Subject: newbie question


I've never understood what the 'make' and 'make install' commands do.  Can
someone shed the light?

Thanks

Tom Thunem
Sr. Systems Specialist,
Global E-Business Infrastructure, Americas
Avnet, Inc.
[EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to