[SOLVED] How change prefix?

Hi there i had Download and compile retroarch on Devuan Jessie.

But when i use
make DESTDIR=/usr/lib64/libretro install


all want be installed on
`/usr/local/lib/libretro`

which is the current varible to set the prefix for install. and the another thing is i try do
su -c "make uninstall" root
make: *** No rule to make target 'uninstall'.  Stop.

i make a workaround :

sed -i 's/LIBRETRO_DIR="\/usr\/local\/lib\/libretro"/LIBRETRO_DIR="\/usr\/lib64\/libretro"/' libretro-install.sh
sed -i 's/install -v -m 644 "$infofile" "$LIBRETRO_DIR"/install -v -m 644 "$infofile" "$LIBRETRO_DIR\/info"/' libretro-install.sh
su -c "mkdir -p /usr/lib64/libretro/info" root
su -c "make install" root

and ready i have the files where i need it

1 Like