NMI Framework Makefile

Tags:

Adding a new file to the NMI distribution

In order to include a new file in the NMI release tarballs, you must add it to the MANIFEST file. This file is just a list of files that should be placed in the tarball; directories do not need to be listed.

If the new file is apart of the actual framework (i.e., the file needs to be placed in either NMI_BIN or NMI_LIB), you also need to include it in Makefile.PL. New Perl modules should be listed in the PM list, while all other files should be listed in EXE_FILE.

Setup Shell Scripts

Makefile.PL dynamically constructs a pair of setup scripts that can be used to initialize the user’s environment with the correct path information. The scripts are placed in the NMI bin directory and will set the following values:

  • NMI_BIN
  • NMI_LIB
  • PATH
  • PERL5LIB