Skip to content

Commit 45004d3

Browse files
billsacksfritzt
authored andcommitted
Before building html or pdf, automatically obtain all of the images
This is needed because we have configured this repository (via an .lfsconfig file at the top level) to NOT automatically fetch any of the large files when cloning / fetching.
1 parent 2319248 commit 45004d3

File tree

3 files changed

+30
-3
lines changed

3 files changed

+30
-3
lines changed

doc/Makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,16 @@ BUILDDIR = build
1212
help:
1313
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1414

15-
.PHONY: help Makefile
15+
# Before building html or pdf, obtain all of the images. This is needed
16+
# because we have configured this repository (via an .lfsconfig file at
17+
# the top level) to NOT automatically fetch any of the large files when
18+
# cloning / fetching.
19+
html: fetch-images
20+
latexpdf: fetch-images
21+
fetch-images:
22+
git lfs pull --exclude=""
23+
24+
.PHONY: help fetch-images Makefile
1625

1726
# Catch-all target: route all unknown targets to Sphinx using the new
1827
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).

doc/Makefile.tech_note

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,16 @@ BUILDDIR = build/tech_note
1212
help:
1313
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1414

15-
.PHONY: help Makefile
15+
# Before building html or pdf, obtain all of the images. This is needed
16+
# because we have configured this repository (via an .lfsconfig file at
17+
# the top level) to NOT automatically fetch any of the large files when
18+
# cloning / fetching.
19+
html: fetch-images
20+
latexpdf: fetch-images
21+
fetch-images:
22+
git lfs pull --exclude=""
23+
24+
.PHONY: help fetch-images Makefile
1625

1726
# Catch-all target: route all unknown targets to Sphinx using the new
1827
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).

doc/Makefile.users_guide

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,16 @@ BUILDDIR = build/users_guide
1212
help:
1313
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
1414

15-
.PHONY: help Makefile
15+
# Before building html or pdf, obtain all of the images. This is needed
16+
# because we have configured this repository (via an .lfsconfig file at
17+
# the top level) to NOT automatically fetch any of the large files when
18+
# cloning / fetching.
19+
html: fetch-images
20+
latexpdf: fetch-images
21+
fetch-images:
22+
git lfs pull --exclude=""
23+
24+
.PHONY: help fetch-images Makefile
1625

1726
# Catch-all target: route all unknown targets to Sphinx using the new
1827
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).

0 commit comments

Comments
 (0)