Skip to content
Snippets Groups Projects
  • Greg Kurz's avatar
    9f5d9597
    Makefile: Fix in-tree clean/distclean · 9f5d9597
    Greg Kurz authored
    
    Doing 'make clean' or 'make distclean' in a freshly cloned tree results in:
    
    make: *** No rule to make target 'ninja-clean', needed by 'clean'.  Stop.
    
    Make the fallback rules global. While here, change the ninjatool recipe to
    always have a zero exit status and thus prevent make to emit a warning.
    
    Fixes: a5665051 ("configure: integrate Meson in the build system")
    Signed-off-by: default avatarGreg Kurz <groug@kaod.org>
    Message-Id: <159897001659.442705.15538955005543395950.stgit@bahia.lan>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    9f5d9597
    History
    Makefile: Fix in-tree clean/distclean
    Greg Kurz authored
    
    Doing 'make clean' or 'make distclean' in a freshly cloned tree results in:
    
    make: *** No rule to make target 'ninja-clean', needed by 'clean'.  Stop.
    
    Make the fallback rules global. While here, change the ninjatool recipe to
    always have a zero exit status and thus prevent make to emit a warning.
    
    Fixes: a5665051 ("configure: integrate Meson in the build system")
    Signed-off-by: default avatarGreg Kurz <groug@kaod.org>
    Message-Id: <159897001659.442705.15538955005543395950.stgit@bahia.lan>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>