Skip to content

Commit

Permalink
Reorganize directory structure, NFC
Browse files Browse the repository at this point in the history
Reorganize the directory structure to put the template and XML syntax
highlighting files into a new directory "include/".  Change the build to
write to a "build/" directory instead of the root directory.

Signed-off-by: Schuyler Eldridge <[email protected]>
  • Loading branch information
seldridge committed Mar 4, 2022
1 parent 0dccc9c commit 6fd2bd4
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build/
13 changes: 7 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@

SPEC = spec.pdf
all: build/spec.pdf

all: $(SPEC)

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 $@
build/spec.pdf: spec.md include/spec-template.tex include/firrtl.xml include/ebnf.xml | build/
pandoc $< --template include/spec-template.tex --syntax-definition include/firrtl.xml --syntax-definition include/ebnf.xml -r markdown+table_captions+inline_code_attributes+gfm_auto_identifiers --filter pandoc-crossref -o $@

clean:
rm -f *.aux *.log *.out *.toc *.pdf
rm -rf build

%/:
mkdir $@
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6fd2bd4

Please sign in to comment.