• Thomas Haller's avatar
    tools: fix out-of-tree build test "tools/check-docs.sh" for duplicate generated sources · 19cb8f91
    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 ***
        -------
    
    (cherry picked from commit 17adf58d)
    19cb8f91
Name
Last commit
Last update
..
check-config-options.sh Loading commit data...
check-docs.sh Loading commit data...
check-exports.sh Loading commit data...
check-settings-docs.sh Loading commit data...
create-exports-NetworkManager.sh Loading commit data...
debug-helper.py Loading commit data...
enums-to-docbook.pl Loading commit data...
meson-post-install.sh Loading commit data...
run-nm-test.sh Loading commit data...
test-build.sh Loading commit data...
test-networkmanager-service.py Loading commit data...
test-sudo-wrapper.sh Loading commit data...