Skip to content

Commit

Permalink
Spec: version tracker tweak
Browse files Browse the repository at this point in the history
- Remove "-dirty" indicator from spec tex make flow.

 On branch master
 Your branch is up-to-date with 'origin/master'.

 Changes to be committed:
	modified:   doc/Makefile

 Changes not staged for commit:
	modified:   extern/riscv-gnu-toolchain (modified content)
	modified:   extern/riscv-isa-sim (modified content)
  • Loading branch information
ben-marshall committed Apr 23, 2020
1 parent 09e9b1d commit bc75277
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ SPEC_TEX = $(SPEC_TOP) $(wildcard $(REPO_HOME)/doc/tex/*)
SPEC_EXTRA= riscv-crypto-spec.sty $(OPCODES)
SPEC_COMMIT= $(BUILD_DIR)/spec.commit

REPO_DIRTY =$(shell git diff)

$(OPCODES) : $(REPO_HOME)/tools/opcodes-crypto
@mkdir -p $(dir $(OPCODES))
cat $^ | python3 $(REPO_HOME)/bin/parse_opcodes.py -tex > $@
Expand All @@ -24,9 +22,6 @@ $(SPEC_COMMIT):
@git rev-parse --abbrev-ref HEAD > ${@}
@echo "@" >> ${@}
@git log --pretty=format:'%H' -n 1 >> ${@}
ifneq ("$(REPO_DIRTY)","")
@echo "{\\\color{red}\\\bf -dirty}" >> ${@} ;
endif

$(SPEC_OUT) : $(SPEC_TEX) $(SPEC_EXTRA) $(SPEC_COMMIT)
@mkdir -p $(BUILD_DIR)
Expand Down

0 comments on commit bc75277

Please sign in to comment.