qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] patch: Makefile uninstall option
@ 2006-03-26 19:41 Bruno Abinader
  0 siblings, 0 replies; only message in thread
From: Bruno Abinader @ 2006-03-26 19:41 UTC (permalink / raw)
  To: qemu-devel


[-- Attachment #1.1: Type: text/plain, Size: 357 bytes --]

Hi all,
I started looking QEMU source code recently and I saw that Makefile was
missing a "uninstall" profile, that enables user to remove all files
installed when using "make install". I don't know if this list is the proper
way of sending patches but I'm assuming it is (I subscribed on it today).

BR,

--
Bruno de Oliveira Abinader
10LE/INdT

[-- Attachment #1.2: Type: text/html, Size: 411 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Makefile_add_uninstall.patch --]
[-- Type: text/x-patch; name="Makefile_add_uninstall.patch", Size: 331 bytes --]

--- Makefile	2006-03-26 15:38:08.000000000 -0400
+++ Makefile.new	2006-03-26 15:36:50.000000000 -0400
@@ -64,6 +64,11 @@
 	$(MAKE) -C $$d $@ || exit 1 ; \
         done
 
+uninstall: clean
+	rm -f "$(bindir)/*qemu*"
+	rm -rf "$(datadir)"
+	rm -rf "$(docdir)"
+	
 # various test targets
 test speed test2: all
 	$(MAKE) -C tests $@

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-26 19:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-26 19:41 [Qemu-devel] patch: Makefile uninstall option Bruno Abinader

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).