From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B6Lcd-0001Gs-Av for qemu-devel@nongnu.org; Wed, 24 Mar 2004 22:33:35 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B6Lc7-0001Ap-EG for qemu-devel@nongnu.org; Wed, 24 Mar 2004 22:33:34 -0500 Received: from [203.10.76.45] (helo=ozlabs.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B6Lc6-0001Aj-RT for qemu-devel@nongnu.org; Wed, 24 Mar 2004 22:33:03 -0500 Subject: Re: [Qemu-devel] makefile problem on ppc From: Rusty Russell In-Reply-To: References: Content-Type: text/plain Message-Id: <1080185571.25555.4.camel@bach> Mime-Version: 1.0 Date: Thu, 25 Mar 2004 14:32:52 +1100 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Wed, 2004-03-24 at 03:21, Denis J Barrow wrote: > Hi, > I am attempting to install on yellowdog 3.0 > but there appears to be a minor Makefile bug. > > > I tried the latest in CVS & the 0.5.2 versions > > make[1]: Entering directory `/usr/src/qemu/qemucvscopy/qemu/i386-user' > install -m 755 -s qemu-i386 /usr/local/bin > make[1]: Leaving directory `/usr/src/qemu/qemucvscopy/qemu/i386-user' > make[1]: Entering directory `/usr/src/qemu/qemucvscopy/qemu/i386' > install -m 755 -s /usr/local/bin > install: too few arguments > Try `install --help' for more information. > make[1]: *** [install] Error 1 > make[1]: Leaving directory `/usr/src/qemu/qemucvscopy/qemu/i386' > make: *** [install] Error 1 Patch from the Debian package: --- qemu-0.5.2.orig/Makefile.target +++ qemu-0.5.2/Makefile.target @@ -275,7 +275,9 @@ rm -f *.o *.a *~ $(PROGS) gen-op.h opc.h op.h install: all +ifneq ($(PROGS),) install -m 755 -s $(PROGS) $(prefix)/bin +endif ifneq ($(wildcard .depend),) include .depend Rusty. -- Anyone who quotes me in their signature is an idiot -- Rusty Russell