Skip to contentSkip to conversation

installs with a different prefix

PATCH New Adam Lackorzynski 1 participant 1 message Dec 4, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 installs with a different prefix

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

configure +4 -4
diff -u -r1.77 configure
@@ -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

Signature · 2 lines
Adam                 [email protected]
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/