@@ -6,7 +6,7 @@ LATEXMK ?= latexmk
66BASH ?= /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
1212all 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
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