ufs-community / UFS_UTILS

Utilities for the NCEP models.
Other
21 stars 104 forks source link

release/public-v1: chgres_cube.fd: make install shuld not install .mod files #57

Closed DusanJovic-NOAA closed 4 years ago

DusanJovic-NOAA commented 4 years ago

When I run make install I get the following files in the install directory:

my_install_dir/
├── bin
│   └── chgres_cube.exe
└── include_4
    └── include_4
        ├── atmosphere.mod
        ├── grib2_util.mod
        ├── input_data.mod
        ├── model_grid.mod
        ├── program_setup.mod
        ├── search_util.mod
        ├── static_data.mod
        └── surface.mod

3 directories, 9 files

There is no need for include_4 directory under include_4.

In fact, all those .mod files are not necessary in the install tree. They are internal to chgres_cube, and chgres_cube is not a library.

I suggest the following lines to be removed from sorc/chgres_cube.fd/CMakeLists.txt:

DusanJovic-NOAA commented 4 years ago

Fixed in https://github.com/NOAA-EMC/UFS_UTILS/commit/ac8bfd7a2492894b06b2222a33728bdc451f08f9