aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2023-10-11 15:57:39 -0700
committerAndrew Waterman <andrew@sifive.com>2023-10-11 17:41:40 -0700
commitb81a1a8916182413e066d6863b4f53699ef7f5a7 (patch)
tree854f5e6867daa0f13a2b26fac18eced2f2530e7f /build
parent885bbf0f5edd69a3cce153938caee1426091ee8f (diff)
downloadriscv-isa-manual-b81a1a8916182413e066d6863b4f53699ef7f5a7.zip
riscv-isa-manual-b81a1a8916182413e066d6863b4f53699ef7f5a7.tar.gz
riscv-isa-manual-b81a1a8916182413e066d6863b4f53699ef7f5a7.tar.bz2
Remove LaTeX specs
They aren't being updated anymore, so they're a source of confusion. They will continue to exist in the git history.
Diffstat (limited to 'build')
-rw-r--r--build/Makefile28
1 files changed, 1 insertions, 27 deletions
diff --git a/build/Makefile b/build/Makefile
index 94693ab..1f105e7 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -14,7 +14,7 @@
# for generating documentation in various formats (PDF, HTML).
# Build Targets
-TARGETS := priv unpriv priv-html unpriv-html priv-latex
+TARGETS := priv unpriv priv-html unpriv-html
# Declare phony targets
.PHONY: all $(TARGETS) clean
@@ -39,15 +39,6 @@ ASCIIDOCTOR_OPTS := -a compress \
# Source directory
SRCDIR := ../src
-# LaTeX source and related files
-SRCS := $(wildcard $(SRCDIR)/latex/*.tex)
-FIGS := $(wildcard $(SRCDIR)/latex/figs/*)
-BIBS := $(SRCDIR)/latex/riscv-spec.bib
-
-# LaTeX build tools
-PDFLATEX := TEXINPUTS=$(SRCDIR)/latex: pdflatex -interaction=nonstopmode -halt-on-error
-BIBTEX := BIBINPUTS=$(SRCDIR)/latex: bibtex
-
# Temporary files to clean up for LaTeX build
JUNK := *.pdf *.aux *.log *.bbl *.blg *.toc *.out *.fdb_latexmk *.fls *.synctex.gz
@@ -83,15 +74,6 @@ unpriv-isa-asciidoc.html: $(SRCDIR)/riscv-unprivileged.adoc
@echo "Building Unprivileged ISA HTML"
asciidoctor $(ASCIIDOCTOR_OPTS) --out-file=$@ $<
-# LaTeX build for Privileged ISA
-priv-latex: riscv-privileged.pdf
-
-riscv-privileged.pdf: $(SRCDIR)/latex/riscv-privileged.tex $(SRCS) $(FIGS) $(BIBS)
- $(PDFLATEX) riscv-privileged
- $(BIBTEX) riscv-privileged
- $(PDFLATEX) riscv-privileged
- $(PDFLATEX) riscv-privileged
-
clean:
@if [ -f priv-isa-asciidoc.pdf ]; then \
echo "Removing priv-isa-asciidoc.pdf"; \
@@ -109,11 +91,3 @@ clean:
echo "Removing unpriv-isa-asciidoc.html"; \
rm -f unpriv-isa-asciidoc.html; \
fi
- @echo "Cleaning up files from LaTeX build"
- @cd $(SRCDIR)/latex; \
- for file in $(JUNK); do \
- if [ -f "$$file" ]; then \
- echo "Removing $$file"; \
- rm -f "$$file"; \
- fi; \
- done