NetworkManager/docs
Lubomir Rintel 4c49d67cc8 docs/api: fix ugly things in Makefile
Turns out automake doesn't like either that we add dependencies to a
target conditionally. Not sure why, but it's a tasteless thing to do
nevertheless:

  gtk-doc.make:174: warning: $(DOC_MAIN_SGML_FILE) was already defined in condition BUILD_DOCS, which is included in condition TRUE ...
  docs/api/Makefile.am:112:   'gtk-doc.make' included from here
  docs/api/Makefile.am:14: ... '$(DOC_MAIN_SGML_FILE)' previously defined here

In any case, the dependency is wrong in the first place -- the source
document doesn't depend on other source. The target (which is a stamp
file, since the xslt processor produces multiple files) does! Moreover,
there's a dependency of the stamp file on $(content_files) already, so
including GENERATED_FILES (like we already do) in content_files should
be sufficient.

While at that, deal with other not-so-nice things; don't extend "all"
target needlessly and don't define a target conditionally.
2022-11-08 11:43:06 +01:00
..
api docs/api: fix ugly things in Makefile 2022-11-08 11:43:06 +01:00
libnm docs: update URL for latest online documentation 2021-09-24 14:41:35 +02:00
meson.build all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
sandboxing.md docs: add "sandboxing.md" 2022-03-28 18:04:18 +02:00