From 011c03309196db50a603b2ae5cef8cbc85e2df4a Mon Sep 17 00:00:00 2001 From: Linus Dierheimer Date: Thu, 21 Jul 2022 20:18:34 +0200 Subject: [PATCH] Update README.md --- README.md | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) 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