From 3ac22fafe495230095d7758b4df23752c8851218 Mon Sep 17 00:00:00 2001 From: Ansa89 Date: Thu, 4 Sep 2014 19:20:51 +0200 Subject: [PATCH] Add info about DISABLE_X11 usage --- README.md | 1 + cfg/targets/help.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index d0f3598..f10eb6f 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ Toxic is a [Tox](https://tox.im)-based instant messenging client which formerly * You can add specific flags to the Makefile with `USER_CFLAGS=""` and/or `USER_LDFLAGS=""` * You can pass your own flags to the Makefile with `CFLAGS=""` and/or `LDFLAGS=""` (this will supersede the default ones) * Additional features are automatically enabled if all dependencies are found, but you can disable them by using special variables: + * `DISABLE_X11=1` → build toxic without X11 support (needed for focus tracking) * `DISABLE_AV=1` → build toxic without audio call support * `DISABLE_SOUND_NOTIFY=1` → build toxic without sound notifications support * `DISABLE_DESKTOP_NOTIFY=1` → build toxic without desktop notifications support diff --git a/cfg/targets/help.mk b/cfg/targets/help.mk index 518674f..7bca5bd 100644 --- a/cfg/targets/help.mk +++ b/cfg/targets/help.mk @@ -9,6 +9,7 @@ help: @echo " help: This help" @echo @echo "-- Variables --" + @echo " DISABLE_X11: Set to \"1\" to force building without X11 support" @echo " DISABLE_AV: Set to \"1\" to force building without audio call support" @echo " DISABLE_SOUND_NOTIFY: Set to \"1\" to force building without sound notification support" @echo " DISABLE_DESKTOP_NOTIFY: Set to \"1\" to force building without desktop notifications support"