diff options
Diffstat (limited to 'volume2/Makefile')
-rw-r--r-- | volume2/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
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) |