diff --git a/README.md b/README.md index ceb222ae1..f101d55d4 100644 --- a/README.md +++ b/README.md @@ -98,10 +98,23 @@ If pkg-config fails to find the headers for a library listed in [dependencies](# ### Manual -Build: Follow the [build instructions](#building). +#### Build DEB / RPM package: +```bash +cmake .. \ + -DCMAKE_INSTALL_PREFIX="/usr" \ + -DCMAKE_INSTALL_SYSCONFDIR="/etc" -* Create DEB / RPM: Run `cmake --build . --target package`. -* Install directly: Run `sudo cmake --install . --prefix /usr/local` +cmake --build . --target fastfetch +``` + +#### Install directly: +```bash +cmake .. \ + -DCMAKE_INSTALL_PREFIX="/usr/local" \ + -DCMAKE_INSTALL_SYSCONFDIR="/etc" + +sudo cmake --install . +``` ## FAQ