From d9eed14e0d96a5bc49aab0760ec5f2fca32c6e4b Mon Sep 17 00:00:00 2001 From: nirenjan Date: Wed, 6 Oct 2021 23:44:16 -0700 Subject: [PATCH] Include default location of x52d.conf in documentation This change adds the default location of x52d.conf in the release builds to the public documentation. --- Makefile.am | 3 +++ daemon/daemon.dox | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index b991fed..570f466 100644 --- a/Makefile.am +++ b/Makefile.am @@ -50,6 +50,9 @@ if HAVE_DOXYGEN DXGEN = $(DXGEN_@AM_V@) DXGEN_ = $(DXGEN_@AM_DEFAULT_V@) DXGEN_0 = @printf " DXGEN $<\n"; + +SYSCONFDIR=@sysconfdir@ +export SYSCONFDIR docs/.stamp: Doxyfile $(DXGEN)$(DOXYGEN) $< $(AM_V_at)touch $@ diff --git a/daemon/daemon.dox b/daemon/daemon.dox index 1cb485f..9b74a49 100644 --- a/daemon/daemon.dox +++ b/daemon/daemon.dox @@ -21,7 +21,8 @@ the Windows X52 driver. It currently manages the following: # Configuration file -\b x52d can be controlled by means of a configuration file. The configuration +\b x52d can be controlled by means of a configuration file. The default location +of the configuration file is in `$(SYSCONFDIR)/x52d/x52d.conf`. The configuration file is an INI style file, and the default configuration is as listed below: \include x52d.conf