Link the sdljoytest binaries to friendly names for compatibility with existing scripts.

This commit is contained in:
fewtarius 2022-04-18 19:16:36 -04:00
parent 8a02c98f85
commit c03d838d05
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A

View file

@ -17,7 +17,9 @@ sed -i "s|gcc|${CC}|" Makefile
}
makeinstall_target() {
mkdir -p ${INSTALL}/usr/bin
cp -rf test_gamepad_SDL2 ${INSTALL}/usr/bin
cp -rf map_gamepad_SDL2 ${INSTALL}/usr/bin
mkdir -p ${INSTALL}/usr/bin
cp -rf test_gamepad_SDL2 ${INSTALL}/usr/bin
ln -s test_gamepad_SDL2 ${INSTALL}/usr/bin/sdljoytest
cp -rf map_gamepad_SDL2 ${INSTALL}/usr/bin
ln -s map_gamepad_SDL2 ${INSTALL}/usr/bin/sdljoymap
}