Skip to content

Commit

Permalink
When replacing Coq version info, display the replacement (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonGross authored Oct 18, 2022
1 parent 87648b8 commit e62ff4f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ clean::
ifneq ($(COQ_EXTENDED_VERSION),$(COQ_EXTENDED_VERSION_OLD))
$(COQ_VERSION_FILE)::
$(SHOW)'echo $$COQ_VERSION_INFO ($(COQ_VERSION)) > $@'
$(HIDE)echo "$(COQ_EXTENDED_VERSION)" > $@
ifneq (,$(strip $(COQ_EXTENDED_VERSION_OLD)))
$(SHOW)'Replacing $(COQ_EXTENDED_VERSION_OLD)'
$(SHOW)' with $(COQ_EXTENDED_VERSION)'
endif
$(HIDE)echo '$(COQ_EXTENDED_VERSION)' > $@
endif

_CoqProject: _CoqProject.in
Expand Down

0 comments on commit e62ff4f

Please sign in to comment.