From 1f4278a5e28943e85f2e8212007d11cfe2a56843 Mon Sep 17 00:00:00 2001 From: fwsmit Date: Sat, 13 Feb 2021 20:23:26 +0100 Subject: [PATCH] Improve support for compiling without wayland Fixes indent in makefile and improves README wording. --- Makefile | 2 +- README.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 01a2528..52ee63d 100644 --- a/Makefile +++ b/Makefile @@ -37,7 +37,7 @@ ifneq (0,${WAYLAND}) DATA_DIR_WAYLAND_PROTOCOLS ?= $(shell $(PKG_CONFIG) wayland-protocols --variable=pkgdatadir) DATA_DIR_WAYLAND_PROTOCOLS := ${DATA_DIR_WAYLAND_PROTOCOLS} ifeq (,${DATA_DIR_WAYLAND_PROTOCOLS}) - $(warning "Failed to query $(PKG_CONFIG) for package 'wayland-protocols'!") +$(warning "Failed to query $(PKG_CONFIG) for package 'wayland-protocols'!") endif endif diff --git a/README.md b/README.md index c5bd791..d7a3f56 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,8 @@ sudo make install - `BINDIR=`: Set the `dunst` executable's path (Default: `${PREFIX}/bin`) - `DATADIR=`: Set the path for shared files. (Default: `${PREFIX}/share`) - `MANDIR=`: Set the prefix of the manpage. (Default: `${DATADIR}/man`) -- `SYSTEMD=(0|1)`: Enable/Disable the systemd unit. (Default: detected via `pkg-config`) -- `WAYLAND=(0|1)`: Enable/Disable wayland support. (Default: 1) +- `SYSTEMD=(0|1)`: Disable/Enable the systemd unit. (Default: detected via `pkg-config`) +- `WAYLAND=(0|1)`: Disable/Enable wayland support. (Default: 1 (enabled)) - `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`)