From d5d4bac2c8a61585c31a02340bafe9e8a33bfe50 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Thu, 27 Mar 2025 23:35:40 -0500 Subject: Remove figures from required file list Remove the references to figures in the makefiles. The backlinks will take care of resolving them by themselves. --- volume1/Makefile | 3 +-- volume2/Makefile | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/volume1/Makefile b/volume1/Makefile index c0d0d3d..fe562a8 100644 --- a/volume1/Makefile +++ b/volume1/Makefile @@ -5,7 +5,6 @@ FMLATEX:=$(FRONTMATTER:.md=.tex) BMLATEX:=$(BACKMATTER:.md=.tex) CHAPTERS:=$(wildcard src/chapters/*.md) APPENDICES:=$(wildcard src/appendices/*.md) -FIGURES:=$(wildcard src/figs/*.svg) PFLAGS:=--pdf-engine=xelatex \ --from=markdown \ --indented-code-classes=javascript \ @@ -20,7 +19,7 @@ PFLAGS:=--pdf-engine=xelatex \ all: $(BOOK) -$(BOOK): $(CHAPTERS) $(FMLATEX) $(BMLATEX) $(APPENDICES) src/title.txt $(FIGURES) +$(BOOK): $(CHAPTERS) $(FMLATEX) $(BMLATEX) $(APPENDICES) src/title.txt pandoc src/title.txt $(CHAPTERS) $(APPENDICES) -o $@ $(PFLAGS) --toc=true -N -B $(FMLATEX) $(FMLATEX): $(FRONTMATTER) diff --git a/volume2/Makefile b/volume2/Makefile index 4809d16..1c817ba 100644 --- a/volume2/Makefile +++ b/volume2/Makefile @@ -5,7 +5,6 @@ FMLATEX:=$(FRONTMATTER:.md=.tex) BMLATEX:=$(BACKMATTER:.md=.tex) CHAPTERS:=$(wildcard src/chapters/*.md) APPENDICES:=$(wildcard src/appendices/*.md) -FIGURES:=$(wildcard src/figs/*.svg) PFLAGS:=--pdf-engine=xelatex \ --from=markdown \ --indented-code-classes=javascript \ @@ -21,8 +20,8 @@ PFLAGS:=--pdf-engine=xelatex \ all: $(BOOK) -$(BOOK): $(CHAPTERS) $(FMLATEX) $(BMLATEX) $(APPENDICES) src/title.txt $(FIGURES) - pandoc src/title.txt $(CHAPTERS) $(APPENDICES) $(FIGURES) -o $@ $(PFLAGS) -N -B $(FMLATEX) +$(BOOK): $(CHAPTERS) $(FMLATEX) $(BMLATEX) $(APPENDICES) src/title.txt + pandoc src/title.txt $(CHAPTERS) $(APPENDICES) -o $@ $(PFLAGS) -N -B $(FMLATEX) $(FMLATEX): $(FRONTMATTER) pandoc $^ -o $@ $(PFLAGS) -- cgit v1.2.3