diff options
| author | Quentin Young <qlyoung@nvidia.com> | 2025-03-05 12:15:35 -0800 |
|---|---|---|
| committer | Quentin Young <qlyoung@nvidia.com> | 2025-03-05 12:25:31 -0800 |
| commit | 5b1bae0c1bd66f3a003466ed4854dc9e9fd46f80 (patch) | |
| tree | ea0d339a2c0211863046c0f973a3d94830f9ac8e /lib/libfrr.c | |
| parent | da2402adf4f07d6600e5e972a0c621d8dd712d21 (diff) | |
doc: don't override automake builtin targets
Automake generates default targets for `info`, `html`, `pdf` and
corresponding `install-info` and `install-html` targets to install the
artifacts generated by those rules. Prior to this change we are
overriding those targets which generates a warning.
The automake targets are designed to automatically build texinfo sources
without requiring user-specified rules. We do not have texinfo sources
so this functionality is not in use, but we are still overriding the
built in targets which is considered poor form. Automake has facilities
to modify the built in targets in the form of `-local` rules; this patch
renames the rules we had defined to use the `-local` ones.
The resulting targets generated by Automake look like this:
html: html-am
html-am: html-local
i.e. the final `html` target generated when using `html-local` to define
our custom rules is identical to the one we get by overriding the built
in `html` target. The same goes for the others.
So, the only effect this patch has is suppressing the warnings and
bringing us in line with Automake best practice.
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
Diffstat (limited to 'lib/libfrr.c')
0 files changed, 0 insertions, 0 deletions
