Skip to content

Commit

Permalink
Use export in make recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
JokeWaumans committed Aug 23, 2024
1 parent 3ff6123 commit 391e5fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ BUILDDIR ?= _build
# logging variables
DEBUG ?= 0
LOGLEVEL =? WARNING
export LOGLEVEL

# Internal variables.
PAPEROPT_a4 = -D latex_paper_size=a4
Expand Down Expand Up @@ -51,6 +50,7 @@ clean:
-rm -rf $(BUILDDIR)/*

html:
export LOGLEVEL=$(LOGLEVEL)
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
Expand Down

0 comments on commit 391e5fb

Please sign in to comment.