Patchwork Makefile: Remove some more files when cleaning

login
register
mail settings
Submitter Stefan Weil
Date July 25, 2013, 4:24 p.m.
Message ID <1374769498-22383-1-git-send-email-sw@weilnetz.de>
Download mbox | patch
Permalink /patch/261792/
State Accepted
Headers show

Comments

Stefan Weil - July 25, 2013, 4:24 p.m.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 Makefile |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Stefan Weil - Sept. 7, 2013, 7 p.m.
Am 25.07.2013 18:24, schrieb Stefan Weil:
> Signed-off-by: Stefan Weil <sw@weilnetz.de>
> ---
>  Makefile |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index 29f1043..80aeb18 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -237,7 +237,8 @@ clean:
>  	find . -name '*.[oda]' -type f -exec rm -f {} +
>  	find . -name '*.l[oa]' -type f -exec rm -f {} +
>  	rm -f $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~ */*~
> -	rm -Rf .libs
> +	rm -f fsdev/*.pod
> +	rm -rf .libs */.libs
>  	rm -f qemu-img-cmds.h
>  	@# May not be present in GENERATED_HEADERS
>  	rm -f trace/generated-tracers-dtrace.dtrace*
> @@ -262,6 +263,7 @@ qemu-%.tar.bz2:
>  distclean: clean
>  	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-disas.mak
> +	rm -f po/*.mo
>  	rm -f roms/seabios/config.mak roms/vgabios/config.mak
>  	rm -f qemu-doc.info qemu-doc.aux qemu-doc.cp qemu-doc.cps qemu-doc.dvi
>  	rm -f qemu-doc.fn qemu-doc.fns qemu-doc.info qemu-doc.ky qemu-doc.kys


Ping?
Michael Tokarev - Sept. 14, 2013, 9:42 a.m.
Thanks, applied to the trivial-patches queue.

/mjt

Patch

diff --git a/Makefile b/Makefile
index 29f1043..80aeb18 100644
--- a/Makefile
+++ b/Makefile
@@ -237,7 +237,8 @@  clean:
 	find . -name '*.[oda]' -type f -exec rm -f {} +
 	find . -name '*.l[oa]' -type f -exec rm -f {} +
 	rm -f $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~ */*~
-	rm -Rf .libs
+	rm -f fsdev/*.pod
+	rm -rf .libs */.libs
 	rm -f qemu-img-cmds.h
 	@# May not be present in GENERATED_HEADERS
 	rm -f trace/generated-tracers-dtrace.dtrace*
@@ -262,6 +263,7 @@  qemu-%.tar.bz2:
 distclean: clean
 	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-disas.mak
+	rm -f po/*.mo
 	rm -f roms/seabios/config.mak roms/vgabios/config.mak
 	rm -f qemu-doc.info qemu-doc.aux qemu-doc.cp qemu-doc.cps qemu-doc.dvi
 	rm -f qemu-doc.fn qemu-doc.fns qemu-doc.info qemu-doc.ky qemu-doc.kys