# A space-separated list of the mjotex files that you use. The path to
# mjotex must be contain in your $TEXINPUTS environment variable.
-MJOTEX = mjo-algorithm.tex mjo-arrow.tex mjo-common.tex mjo-cone.tex
-MJOTEX += mjo-convex.tex mjo-font.tex mjo-linear_algebra.tex mjo-listing.tex
-MJOTEX += mjo-misc.tex mjo-proof_by_cases.tex mjo-theorem.tex
+MJOTEX = mjo-algorithm.tex mjo-arrow.tex mjo-common.tex mjo-complex.tex
+MJOTEX += mjo-cone.tex mjo-convex.tex mjo-font.tex mjo-linear_algebra.tex
+MJOTEX += mjo-listing.tex mjo-misc.tex mjo-proof_by_cases.tex mjo-theorem.tex
MJOTEX += mjo-theorem-star.tex mjo-topology.tex mjo.bst
# Use kpsewhich (from the kpathsea suite) to find the absolute paths
# Run chktex to find silly mistakes. There is some exit code weirdness
# (Savannah bug 45979), so we just look for empty output.
.PHONY: check-chktex
+CHKTEX = chktex --localrc .chktexrc --quiet --inputfiles=0
check-chktex:
- @[ -z "$(shell chktex --quiet mjotex.sty)" ]
+ @[ -z "$(shell $(CHKTEX) mjotex.sty)" ]
# Ensure that there are no undefined references in the document by
# parsing the log file for said warnings.