bug/improvement in top-level Makefile

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
eponymousalias
Posts: 17
Joined: Mon Mar 07, 2016 5:38 am

bug/improvement in top-level Makefile

Post by eponymousalias »

The top-level Nagios-distribution Makefile has a bug: make contrib
believes that the contrib directory satisfies the make target by merely
existing, as opposed to causing a descent into the contrib directory and
building there. The make target should probably be renamed to contribs,
and named as such in the simple make none output.

Also, there should be an install-contribs target in the top-level
Makefile that installs the contribs stuff with cd contrib; make install,
without needing to manually chdir to the contrib directory and run
make install there.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: bug/improvement in top-level Makefile

Post by tmcdonald »

Passed this along to the Core folks - thanks for the tip!
Former Nagios employee
Locked