diff --git a/Building-for-Linux.md b/Building-for-Linux.md index 2005537..2357091 100644 --- a/Building-for-Linux.md +++ b/Building-for-Linux.md @@ -28,26 +28,51 @@ You can reinstall them after Dolphin builds successfully if you like. ## Building ### Global Build -1. `mkdir build && cd build` -2. `cmake ..` -3. `make -j$(nproc)` -4. `sudo make install` (optional, to install) +```bash +mkdir build && cd build + +cmake .. + +make -j$(nproc) + +sudo make install #optional, to install Dolphin +``` ### Local Build -1. `mkdir build && cd build` -2. `cmake .. -DLINUX_LOCAL_DEV=true` -3. `make -j$(nproc)` -4. `ln -s ../../Data/Sys Binaries/` +```bash +mkdir build && cd build + +cmake .. -DLINUX_LOCAL_DEV=true + +make -j$(nproc) + +ln -s ../../Data/Sys Binaries/ +``` ### Portable Build -1. `mkdir build && cd build` -2. `cmake .. -DLINUX_LOCAL_DEV=true` -3. `make -j$(nproc)` -4. `cp -r ../Data/Sys/ Binaries/` -5. `touch Binaries/portable.txt` +```bash +mkdir build && cd build + +cmake .. -DLINUX_LOCAL_DEV=true + +make -j$(nproc) + +cp -r ../Data/Sys/ Binaries/ + +touch Binaries/portable.txt +``` ### Distributable .deb Package -https://github.com/dolphin-emu/dolphin/pull/10170 +following instructions at [the PR this feature was implemented](https://github.com/dolphin-emu/dolphin/pull/10170): +```bash +mkdir build && cd build + +cmake -DCPACK_PACKAGE_CONTACT="Your Name Here" .. #you're responsible for what you distribute + +make -j$(nproc) + +cpack -G DEB +``` ## Externally Managed Packages On some distributions of Linux, package maintainers provide unmodified builds of Dolphin. These are listed below: