From c56e341d25e35a5207c4eea12bac9bf0ddd8b652 Mon Sep 17 00:00:00 2001 From: Jared Barocsi Date: Tue, 1 Mar 2022 16:28:33 -0800 Subject: Convert firrtl specification to Markdown file (#2236) - Convert FIRRTL spec to Markdown file. - Add PDF generation via pandoc. - Remove old LaTeX specification. Co-authored-by: Schuyler Eldridge Signed-off-by: Schuyler Eldridge --- spec/Makefile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'spec/Makefile') diff --git a/spec/Makefile b/spec/Makefile index 8ba97cf9..3c762cd1 100644 --- a/spec/Makefile +++ b/spec/Makefile @@ -1,13 +1,10 @@ -SRC = spec.tex SPEC = spec.pdf all: $(SPEC) -$(SPEC) : $(SRC) - pdflatex -output-format=pdf spec.tex - pdflatex -output-format=pdf spec.tex - pdflatex -output-format=pdf spec.tex +spec.pdf: spec.md firrtl.xml spec-template.tex firrtl.xml ebnf.xml + pandoc $< --template spec-template.tex --syntax-definition firrtl.xml --syntax-definition ebnf.xml -r markdown+table_captions+inline_code_attributes+gfm_auto_identifiers --filter pandoc-crossref -o $@ clean: - rm -f *.aux *.log *.out *.toc + rm -f *.aux *.log *.out *.toc *.pdf -- cgit v1.2.3