From 2e5bc5d11772d334b95052af687b4eb14345c0b3 Mon Sep 17 00:00:00 2001 From: Debian Julia Team Date: Thu, 12 Nov 2020 09:50:14 +0000 Subject: [PATCH] Prevent the build system from downloading anything while building docs. Forwarded: no need. Last-Update: 2018-07-03 Gbp-Pq: Name doc-make.patch --- doc/Makefile | 8 ++------ doc/Project.toml | 2 -- doc/make.jl | 3 +-- 3 files changed, 3 insertions(+), 10 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 3bf710c..f03fa70 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -26,12 +26,8 @@ DOCUMENTER_OPTIONS := linkcheck=$(linkcheck) doctest=$(doctest) buildroot=$(call UNICODE_DATA_VERSION=13.0.0 $(SRCCACHE)/UnicodeData-$(UNICODE_DATA_VERSION).txt: - @mkdir -p "$(SRCCACHE)" - $(JLDOWNLOAD) "$@" http://www.unicode.org/Public/$(UNICODE_DATA_VERSION)/ucd/UnicodeData.txt - -deps: $(SRCCACHE)/UnicodeData-$(UNICODE_DATA_VERSION).txt - $(JLCHECKSUM) "$<" - cp "$<" UnicodeData.txt +deps: + true clean: -rm -rf _build/* deps/* docbuild.log UnicodeData.txt diff --git a/doc/Project.toml b/doc/Project.toml index c09e74d..bb4d98f 100644 --- a/doc/Project.toml +++ b/doc/Project.toml @@ -1,3 +1 @@ -[deps] -Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" DocumenterLaTeX = "cd674d7a-5f81-5cf3-af33-235ef1834b99" diff --git a/doc/make.jl b/doc/make.jl index 1dc60ec..318ef6e 100644 --- a/doc/make.jl +++ b/doc/make.jl @@ -4,8 +4,7 @@ empty!(LOAD_PATH) push!(LOAD_PATH, @__DIR__, "@stdlib") empty!(DEPOT_PATH) pushfirst!(DEPOT_PATH, joinpath(@__DIR__, "deps")) -using Pkg -Pkg.instantiate() +push!(LOAD_PATH, "../debian/embedded") using Documenter, DocumenterLaTeX -- 2.30.2