# Compile a list of raw source code listings (*.listing) and their
# associated output files (*.sage.py) that will be tested by check-sage.
#
-# SAGE_LISTING_SRCS = $(wildcard sage_listings/*.listing)
+# SAGE_LISTINGS = $(wildcard sage-listings/*.listing)
# A space-separated list of indices (just their names). Usually you'll
# have just one, and it will be named the same thing as your document,
MJOTEXPATHS = $(shell kpsewhich $(MJOTEX))
SRCS += $(MJOTEXPATHS)
endif
-ifdef SAGE_LISTING_SRCS
+ifdef SAGE_LISTINGS
SAGE_LISTING_DSTS = $(patsubst %.listing,\
$(BUILDDIR)/%.sage.py,\
- $(SAGE_LISTING_SRCS))
+ $(SAGE_LISTINGS))
SRCS += $(SAGE_LISTING_DSTS)
endif
#
-# Example makefile using mjotex and a BibTeX references database.
+# Example GNUmakefile using a BibTeX reference database, an index, and
+# some mjotex libraries.
#
# After defining $(PN) to be the name of your document, this will
# compile the source file $(PN).tex to $(PN).pdf. The remaining
# Specify the remaining variables only if you use them.
BIBS = local-references.bib
INDICES = $(PN)
-SAGE_LISTING_SRCS = $(wildcard sage_listings/*.listing)
+SAGE_LISTINGS = $(wildcard sage-listings/*.listing)
# Only the ones we use... AKA all of them.
MJOTEX = mjo-algebra.tex mjo-algorithm.tex mjo-arrow.tex mjo-calculus.tex