Big fix for linux build script, make directories before installing files.

This commit is contained in:
Matthew Budd 2020-07-01 20:47:57 -04:00
parent e79650845f
commit ab664db06c
1 changed files with 7 additions and 0 deletions

View File

@ -103,8 +103,15 @@ make -j `nproc`
# Install Files
cd .. # cd out of build
mkdir -p $INSTALL_PREFIX/usr/bin/.
mkdir -p $INSTALL_PREFIX/usr/share/fceux
mkdir -p $INSTALL_PREFIX/usr/share/pixmaps
mkdir -p $INSTALL_PREFIX/usr/share/applications
mkdir -p $INSTALL_PREFIX/usr/man/man6
cp -f ./build/fceux $INSTALL_PREFIX/usr/bin/.
cp -a ./output/* $INSTALL_PREFIX/usr/share/fceux/.
cp -a ./src/auxlib.lua $INSTALL_PREFIX/usr/share/fceux/.
cp -a ./fceux.png $INSTALL_PREFIX/usr/share/pixmaps/.
cp -a ./fceux.desktop $INSTALL_PREFIX/usr/share/applications/.
cp -a ./documentation/fceux.6 $INSTALL_PREFIX/usr/man/man6/.