* [Qemu-devel] [PATCH] fix make clean targets
@ 2009-11-13 9:51 Magnus Damm
0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2009-11-13 9:51 UTC (permalink / raw)
To: qemu-devel
From: Magnus Damm <damm@opensource.se>
This patch fixes clean in case of missing directories and
also adds code to distclean that removes the following files:
qemu-monitor.texi roms/seabios/config.mak roms/vgabios/config.mak
Signed-off-by: Magnus Damm <damm@opensource.se>
---
Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
--- 0001/Makefile
+++ work/Makefile 2009-11-13 15:28:35.000000000 +0900
@@ -237,12 +237,13 @@ clean:
rm -f qemu-img-cmds.h
$(MAKE) -C tests clean
for d in $(ALL_SUBDIRS) libhw32 libhw64 libuser; do \
- $(MAKE) -C $$d $@ || exit 1 ; \
+ if test -d $$d; then $(MAKE) -C $$d $@ || exit 1; fi; \
done
distclean: clean
- rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi
+ rm -f config-host.mak config-host.h* config-host.ld $(DOCS) qemu-options.texi qemu-img-cmds.texi qemu-monitor.texi
rm -f config-all-devices.mak config-all-devices.h*
+ rm -f roms/seabios/config.mak roms/vgabios/config.mak
rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
for d in $(TARGET_DIRS) libhw32 libhw64 libuser; do \
rm -rf $$d || exit 1 ; \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-13 9:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-13 9:51 [Qemu-devel] [PATCH] fix make clean targets Magnus Damm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).