]> gitweb.michael.orlitzky.com - mjotex.git/commitdiff
GNUmakefile.mjo: add SAGE_LISTINGS (not the DSTS) to SRCS
authorMichael Orlitzky <michael@orlitzky.com>
Fri, 27 Feb 2026 01:07:50 +0000 (20:07 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Fri, 27 Feb 2026 01:07:50 +0000 (20:07 -0500)
We want to rebuild the PDF if the listing files change. In theory that
will also cause the DSTS (*.sage.py files) to change, but the PDF
really depends on the source listings that presumably are included in
the document.

GNUmakefile.mjo

index 177837d213ec3fa35e682dd0a8502d96cd5d87d9..54e2d4461c32b68cd2b61218102800bd0220d3f7 100644 (file)
@@ -73,10 +73,10 @@ MJOTEXPATHS = $(shell kpsewhich $(MJOTEX))
 SRCS += $(MJOTEXPATHS)
 endif
 ifdef SAGE_LISTINGS
+SRCS += $(SAGE_LISTINGS)
 SAGE_LISTING_DSTS = $(patsubst %.listing,\
                                $(BUILDDIR)/%.sage.py,\
                                $(SAGE_LISTINGS))
-SRCS += $(SAGE_LISTING_DSTS)
 endif
 
 ifdef INDICES