debhelper add-on to handle Fortran '.mod' files


Modules were introduced in the 1990 revision of the Fortran standard. When the Fortran compiler processes a source file containing a module, it produces both an object file and a '.mod' file. The latter plays a role similar to header files in C, since it is needed when compiling other source files which make use of the module.

The '.mod' files are however platform dependent, and their format changes with the gfortran version.

This package provides the dh_fortran_mod command, which simplifies the inclusion of '.mod' files in binary packages. First, it places the '.mod' files in the correct platform- and gfortran-dependent location. Second, it adds the right dependency information on gfortran version(s).

Inclusion of dh_fortran_mod in dh sequence is also provided under the name 'fortran_mod'.

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V

Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install dh-fortran-mod