qemu-devel
[Top][All Lists]
Advanced

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

[Bug 1371915] Re: Make Uninstall Rule Requested


From: Peter Maydell
Subject: [Bug 1371915] Re: Make Uninstall Rule Requested
Date: Wed, 18 Nov 2020 18:03:05 -0000

This change is almost sufficient:

diff --git a/Makefile b/Makefile
index 76dbb917f5c..da01e3cd16a 100644
--- a/Makefile
+++ b/Makefile
@@ -156,7 +156,7 @@ NINJAFLAGS = $(if $V,-v) $(if $(MAKE.n), -n) $(if 
$(MAKE.k), -k0) \
 ninja-cmd-goals = $(or $(MAKECMDGOALS), all)
 ninja-cmd-goals += $(foreach t, $(.tests), $(.test.deps.$t))
 
-makefile-targets := build.ninja ctags TAGS cscope dist clean uninstall
+makefile-targets := build.ninja ctags TAGS cscope dist clean
 # "ninja -t targets" also lists all prerequisites.  If build system
 # files are marked as PHONY, however, Make will always try to execute
 # "ninja build.ninja".

It makes "make uninstall" uninstall things; however it doesn't uninstall
the various LC_MESSAGES files that meson installs, because those are
installed by a "custom install script" that's part of the meson i18n
module, and meson's uninstall functionality doesn't uninstall things
installed that way. So it's a bit half-baked :-/

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1371915

Title:
  Make Uninstall Rule Requested

Status in QEMU:
  In Progress

Bug description:
  Environment: Ubuntu 14.04 - Qemu 2.1.1
  ------------------
  I've configured qemu with some --prefix, compiled the sources and installed 
the binaries; now, for some reason, I need to uninstall qemu to configure it 
with the default prefix, recompile the sources and reinstall the binaries.
  However, there's no rule to uninstall qemu.

  All other packages which I have compiled and installed on my system
  offer the possibility to uninstall it: why not Qemu?

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1371915/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]