• Thomas Haller's avatar
    tools: fix out-of-tree build test "tools/check-docs.sh" for duplicate generated sources · 17adf58d
    Thomas Haller authored
    When we do an in-tree-build with autotools and an out-of-tree build
    with meson (all in the same source directory), then we have the
    following files:
    
      libnm-core/nm-core-enum-types.h
      libnm/nm-enum-types.h
      build/libnm-core/nm-core-enum-types.h
      build/libnm/nm-enum-types.h
    
    This caused "tools/check-docs.sh" for `ninja -C build test` to fail,
    because the files are detected twice:
    
        --- command ---
        /data/src/NetworkManager/tools/check-docs.sh /data/src/NetworkManager /data/src/NetworkManager/build
        --- stderr ---
        8a9
        > nm-core-enum-types
        38a40
        > nm-enum-types
        *** Error: libnm classes not included in docs/libnm/libnm-docs.xml ***
        -------
    17adf58d
Name
Last commit
Last update
clients Loading commit data...
contrib Loading commit data...
data Loading commit data...
dispatcher Loading commit data...
docs Loading commit data...
examples Loading commit data...
introspection Loading commit data...
libnm Loading commit data...
libnm-core Loading commit data...
m4 Loading commit data...
man Loading commit data...
po Loading commit data...
shared Loading commit data...
src Loading commit data...
tools Loading commit data...
vapi Loading commit data...
.dir-locals.el Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
Makefile.examples Loading commit data...
Makefile.glib Loading commit data...
Makefile.vapigen Loading commit data...
NEWS Loading commit data...
NetworkManager.pc.in Loading commit data...
README Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
config-extra.h.meson Loading commit data...
config.h.meson Loading commit data...
configure.ac Loading commit data...
linker-script-binary.ver Loading commit data...
linker-script-devices.ver Loading commit data...
linker-script-settings.ver Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...
valgrind.suppressions Loading commit data...
zanata.xml Loading commit data...