NetworkManager/docs/api
Lubomir Rintel 1b24d4db47 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.

(cherry picked from commit 4c49d67cc8)
2022-11-11 16:49:39 +01:00
..
Makefile.am docs/api: fix ugly things in Makefile 2022-11-11 16:49:39 +01:00
meson.build all: update deprecated SPDX license identifiers 2021-01-05 09:46:21 +01:00
network-manager-docs.xml man: add NetworkManager-wait-online.service.8 manual 2022-03-02 16:09:16 +01:00
network-manager-overrides.txt docs: create new master NM documentation module 2011-02-16 16:24:16 -06:00
settings-spec.xsl docs/api: make the connection settings look better 2017-03-17 10:15:11 +01:00
version.xml.in docs: create new master NM documentation module 2011-02-16 16:24:16 -06:00