Skip to content

Commit

Permalink
Exclude version_git.jl from list of dependencies for HTML docs
Browse files Browse the repository at this point in the history
This file is modified by the light-source-dist target when preparing tarballs.
Depending on it means that the docs will be rebuilt when calling 'make install'
from the tarballs. This requires downloading files, which is problematic
for replicable builds and may not be possible on build servers.

Ref #24496
(cherry picked from commit bd019a4)
  • Loading branch information
nalimilan authored and ararslan committed Nov 7, 2017
1 parent f22390a commit 2f6f7ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ julia_flisp.boot.inc.phony: julia-deps
@$(MAKE) $(QUIET_MAKE) -C $(BUILDROOT)/src julia_flisp.boot.inc.phony

# Build the HTML docs (skipped if already exists, notably in tarballs)
$(BUILDROOT)/doc/_build/html/en/index.html: $(shell find $(BUILDROOT)/base $(BUILDROOT)/doc \( -path $(BUILDROOT)/doc/_build -o -path $(BUILDROOT)/doc/deps -o -name *_constants.jl -o -name *_h.jl \) -prune -o -type f -print)
$(BUILDROOT)/doc/_build/html/en/index.html: $(shell find $(BUILDROOT)/base $(BUILDROOT)/doc \( -path $(BUILDROOT)/doc/_build -o -path $(BUILDROOT)/doc/deps -o -name *_constants.jl -o -name *_h.jl -o -name version_git.jl \) -prune -o -type f -print)
@$(MAKE) docs

# doc needs to live under $(build_docdir), not under $(build_datarootdir)/julia/
Expand Down

0 comments on commit 2f6f7ab

Please sign in to comment.