qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] installs with a different prefix


From: Adam Lackorzynski
Subject: [Qemu-devel] [PATCH] installs with a different prefix
Date: Sun, 4 Dec 2005 20:00:45 +0100
User-agent: Mutt/1.5.9i

Hi,

I'd like to have "make install prefix=/some/other/dir" work, the files
will be linked/moved to their final destination later (e.g. /usr/local).
The following modification makes this possible.


Index: configure
===================================================================
RCS file: /cvsroot/qemu/qemu/configure,v
retrieving revision 1.77
diff -u -r1.77 configure
--- configure   26 Nov 2005 18:47:20 -0000      1.77
+++ configure   4 Dec 2005 18:54:59 -0000
@@ -398,10 +398,10 @@
 if test -z "$prefix" ; then
     prefix="/usr/local"
 fi
-mandir="$prefix/share/man"
-datadir="$prefix/share/qemu"
-docdir="$prefix/share/doc/qemu"
-bindir="$prefix/bin"
+mandir="\${prefix}/share/man"
+datadir="\${prefix}/share/qemu"
+docdir="\${prefix}/share/doc/qemu"
+bindir="\${prefix}/bin"
 fi
 
 # kqemu support


Thanks,
Adam
-- 
Adam                 address@hidden
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




reply via email to

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