qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] installs with a different prefix
@ 2005-12-04 19:00 Adam Lackorzynski
  0 siblings, 0 replies; only message in thread
From: Adam Lackorzynski @ 2005-12-04 19:00 UTC (permalink / raw)
  To: qemu-devel

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                 adam@os.inf.tu-dresden.de
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/

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

only message in thread, other threads:[~2005-12-04 19:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-04 19:00 [Qemu-devel] [PATCH] installs with a different prefix Adam Lackorzynski

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