diff options
author | Rafael Sene <rafael@riscv.org> | 2023-04-17 17:53:14 -0300 |
---|---|---|
committer | Rafael Sene <rafael@riscv.org> | 2023-04-17 17:55:24 -0300 |
commit | b58f9e6737162eec901a1c9d4c770b511ec58d96 (patch) | |
tree | 941c2c1af8498636083e8b5c08e1d67bd1dedd33 /build | |
parent | 4f5f3fb052083f9208db6a5fe62e788c67598be7 (diff) | |
download | riscv-isa-manual-b58f9e6737162eec901a1c9d4c770b511ec58d96.zip riscv-isa-manual-b58f9e6737162eec901a1c9d4c770b511ec58d96.tar.gz riscv-isa-manual-b58f9e6737162eec901a1c9d4c770b511ec58d96.tar.bz2 |
Update the path for Makefile cleanup and GitHub Actions build
Signed-off-by: Rafael Sene <rafael@riscv.org>
Diffstat (limited to 'build')
-rw-r--r-- | build/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/Makefile b/build/Makefile index eef96b6..7fe0f6f 100644 --- a/build/Makefile +++ b/build/Makefile @@ -43,7 +43,7 @@ PDFLATEX := TEXINPUTS=$(SRCDIR)/latex: pdflatex -interaction=nonstopmode -halt-o BIBTEX := BIBINPUTS=$(SRCDIR)/latex: bibtex # Temporary files to clean up for LaTeX build -JUNK := *.pdf *.aux *.log *.bbl *.blg *.toc *.out +JUNK := *.pdf *.aux *.log *.bbl *.blg *.toc *.out *.fdb_latexmk *.fls *.synctex.gz # Privileged ISA build priv: priv-isa-asciidoc.pdf @@ -104,7 +104,8 @@ clean: rm -f unpriv-isa-asciidoc.html; \ fi @echo "Cleaning up files from LaTeX build" - @for file in $(JUNK); do \ + @cd $(SRCDIR)/latex; \ + for file in $(JUNK); do \ if [ -f "$$file" ]; then \ echo "Removing $$file"; \ rm -f "$$file"; \ |