From 29e5c0881291b2ab225eb1617592213de611a4a5 Mon Sep 17 00:00:00 2001 From: Ben Marshall Date: Thu, 27 Sep 2018 19:40:16 +0100 Subject: 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 --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c304f265..36e87949 100644 --- a/Makefile +++ b/Makefile @@ -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) -- cgit v1.2.3