Skip to content

Commit 51df6cb

Browse files
committed
Adjust locations of doc_data.pcl
1 parent 4832e21 commit 51df6cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mathics/doc/tex/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ LATEXMK ?= latexmk
66
BASH ?= /bin/bash
77
#-quiet
88

9-
DOC_DATA_PCL ?= $(HOME)/.local/var/mathics/doc_tex_data.pcl
9+
DOC_DATA_PCL ?= $(HOME)/.local/var/mathics/doc_data.pcl
1010

1111
#: Default target: Make everything
1212
all doc texdoc: mathics.pdf
@@ -15,7 +15,7 @@ doc-data $(DOC_DATA_PCL):
1515
(cd ../.. && $(PYTHON) docpipeline.py --output --keep-going)
1616

1717
#: Build mathics PDF
18-
mathics.pdf: mathics.tex documentation.tex logo-text-nodrop.pdf logo-heptatom.pdf doc_tex_data.pcl
18+
mathics.pdf: mathics.tex documentation.tex logo-text-nodrop.pdf logo-heptatom.pdf $(DOC_DATA_PCL)
1919
$(LATEXMK) --verbose -f -pdf -pdflatex="$(XETEX) -halt-on-error" mathics
2020

2121
#: Build test PDF
@@ -28,7 +28,7 @@ logo-heptatom.pdf logo-text-nodrop.pdf:
2828
(cd .. && $(BASH) ./images.sh)
2929

3030
#: The build of the documentation which is derived from docstrings in the Python code
31-
documentation.tex: doc_tex_data.pcl
31+
documentation.tex: $(DOC_DATA_PCL)
3232
$(PYTHON) ./doc2latex.py
3333

3434
#: Same as mathics.pdf
@@ -40,6 +40,6 @@ clean:
4040
rm -f test-mathics.aux test-mathics.idx test-mathics.log test-mathics.mtc test-mathics.mtc* test-mathics.out test-mathics.toc || true
4141
rm -f mathics.fdb_latexmk mathics.ilg mathics.ind mathics.maf mathics.pre || true
4242
rm -f mathics_*.* || true
43-
rm -f mathics-*.* documentation.tex doc_tex_data.pcl || true
43+
rm -f mathics-*.* documentation.tex doc_data.pcl || true
4444
rm -f mathics.pdf mathics.dvi data_tex_data.pcl test-mathics.pdf test-mathics.dvi || true
4545
rm -f mathics-test.pdf mathics-test.dvi || true

0 commit comments

Comments
 (0)