Skip to content

Commit 76a9b59

Browse files
mchehabJonathan Corbet
authored andcommitted
docs: Makefile: get rid of KERNELDOC_CONF env variable
Despite its name, what's there is a set of Sphinx arguments that are passed to sphinx/kerneldoc.py: - kerneldoc_srctree: location of the source tree; - kerneldoc_bin: external script to excecute kernel-doc Drop it, and just place the values at the already-existing ALLSPHINXOPTS variable. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Tested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <88be0fc288598c30fbedb9cc230b2a7ed28225a2.1745453655.git.mchehab+huawei@kernel.org>
1 parent 9d9bec3 commit 76a9b59

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ endif #HAVE_LATEXMK
6161
PAPEROPT_a4 = -D latex_paper_size=a4
6262
PAPEROPT_letter = -D latex_paper_size=letter
6363
KERNELDOC = $(srctree)/scripts/kernel-doc.py
64-
KERNELDOC_CONF = -D kerneldoc_srctree=$(srctree) -D kerneldoc_bin=$(KERNELDOC)
65-
ALLSPHINXOPTS = $(KERNELDOC_CONF) $(PAPEROPT_$(PAPER)) $(SPHINXOPTS)
64+
ALLSPHINXOPTS = -D kerneldoc_srctree=$(srctree) -D kerneldoc_bin=$(KERNELDOC)
65+
ALLSPHINXOPTS += $(PAPEROPT_$(PAPER)) $(SPHINXOPTS)
6666
ifneq ($(wildcard $(srctree)/.config),)
6767
ifeq ($(CONFIG_RUST),y)
6868
# Let Sphinx know we will include rustdoc

0 commit comments

Comments
 (0)