Skip to content

Commit

Permalink
Also exclude building docs from inplace-conf target.
Browse files Browse the repository at this point in the history
This fixes DOMjudge#1453
  • Loading branch information
eldering committed Apr 22, 2022
1 parent cc5861d commit 1a78b1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.global
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ include $(TOPDIR)/paths.mk
endif

# We should build docs if it not explicitly disabled and we're not
# running "make maintainer-conf":
# running "make maintainer-conf" or "make inplace-conf":
BUILD_DOCS=no
ifneq ($(DOC_BUILD_ENABLED),no)
ifneq ($(MAKECMDGOALS),maintainer-conf)
ifneq ($(MAKECMDGOALS),inplace-conf)
BUILD_DOCS=yes
endif
endif
endif
export BUILD_DOCS

# Determine revision info:
Expand Down

0 comments on commit 1a78b1e

Please sign in to comment.