diff options
| author | Ben Marshall | 2018-09-27 19:40:16 +0100 |
|---|---|---|
| committer | Jack Koenig | 2018-09-27 11:40:16 -0700 |
| commit | 29e5c0881291b2ab225eb1617592213de611a4a5 (patch) | |
| tree | bb0e117fd961f2cccf7bf50c86566183e161604a /Makefile | |
| parent | 953deb5d6f3a7a039d767b7e57a161960b17534a (diff) | |
Number all code examples & add specification build to Makefile (#894)
* Merge makefile changes from dev/specification-fixes
- New top level makefile target: `specification`
- Builds the specification document.
* Number all code examples.
This is more a change of convenience than anything. Referring to syntax
examples is much easier when they are numbered!
This commit is in the context of freechipsproject/firrtl#890 - Updating
examples and syntax specification is made easier if they are numbered.
- Change `verbatim` environments to `lstlisting`
- Add very basic keyword highlighting.
- Rebuild specification PDF.
On branch dev/number-code-examples
Changes to be committed:
modified: spec/spec.pdf
modified: spec/spec.tex
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -9,9 +9,14 @@ scala_jar ?= $(install_dir)/firrtl.jar scala_src := $(shell find src -type f \( -name "*.scala" -o -path "*/resources/*" \)) clean: + $(MAKE) -C $(root_dir)/spec clean rm -f $(install_dir)/firrtl.jar $(SBT) "clean" +.PHONY : specification +specification: + $(MAKE) -C $(root_dir)/spec all + build: build-scala regress: $(scala_jar) |
