From 85da5d788bbbf86390cfbd7b145f38d06f807e6c Mon Sep 17 00:00:00 2001 From: Benedikt Heine Date: Mon, 25 Dec 2017 17:29:20 +0100 Subject: [PATCH] Add build documentation --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b955018..cdb3b04 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,9 @@ Dunst is a highly configurable and lightweight notification daemon. -## Compiling +## Installation + +### Dependencies Dunst has a number of build dependencies that must be present before attempting configuration. The names are different depending on [distribution](https://github.com/dunst-project/dunst/wiki/Dependencies): @@ -25,6 +27,23 @@ Dunst has a number of build dependencies that must be present before attempting - pango/cairo - libgtk-3-dev +### Building + +``` +git clone https://github.com/dunst-project/dunst.git +cd dunst +make +sudo make install +``` + +### Make parameters + +- `PREFIX=`: Set the prefix of the installation. (Default: `/usr/local`) +- `MANPREFIX=`: Set the prefix of the manpage. (Default: `${PREFIX}/share/man`) +- `SYSTEMD=(0|1)`: Enable/Disable the systemd unit. (Default: detected via `pkg-config`) +- `SERVICEDIR_SYSTEMD=`: The path to put the systemd user service file. Unused, if `SYSTEMD=0`. (Default: detected via `pkg-config`) +- `SERVICEDIR_DBUS=`: The path to put the dbus service file. (Default: detected via `pkg-config`) + Checkout the [wiki][wiki] for more information. ## Bug reports