[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen staging] tools/Rules.mk: fix distclean



commit 101398e1f81ca7a4f45ab54c4d0c4fee7b3a7bd8
Author:     Paul Durrant <pdurrant@xxxxxxxxxx>
AuthorDate: Thu Jan 9 11:15:05 2020 +0000
Commit:     Wei Liu <wl@xxxxxxx>
CommitDate: Tue Jan 14 11:26:40 2020 +0000

    tools/Rules.mk: fix distclean
    
    Running 'make distclean' under tools will currently result in:
    
    tools/Rules.mk:245: *** You have to run ./configure before building or 
installing the tools.  Stop.
    
    This patch adds 'distclean', 'subdir-distclean%' and 'subdir-clean%' to
    no-configure-targets, which allows 'make distclean' to run to completion.
    
    Fixes: 00691c6c (tools: Allow to make *-dir-force-update without 
./configure)
    Signed-off-by: Paul Durrant <pdurrant@xxxxxxxxxx>
    Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
    Acked-by: Wei Liu <wl@xxxxxxx>
---
 tools/Rules.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/Rules.mk b/tools/Rules.mk
index 31cf419ef4..52f47be3f8 100644
--- a/tools/Rules.mk
+++ b/tools/Rules.mk
@@ -239,7 +239,7 @@ subdir-all-% subdir-clean-% subdir-install-% 
subdir-uninstall-%: .phony
 subdir-distclean-%: .phony
        $(MAKE) -C $* distclean
 
-no-configure-targets := clean subtree-force-update-all %-dir-force-update
+no-configure-targets := distclean subdir-distclean% clean subdir-clean% 
subtree-force-update-all %-dir-force-update
 ifeq (,$(filter $(no-configure-targets),$(MAKECMDGOALS)))
 $(XEN_ROOT)/config/Tools.mk:
        $(error You have to run ./configure before building or installing the 
tools)
--
generated by git-patchbot for /home/xen/git/xen.git#staging

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/xen-changelog

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.