Commit a5972a3f authored by Michel Roelofs's avatar Michel Roelofs
Browse files

Show console version, build date, ... in console window including reference to repo

The console_version.js file is generated at each build.
parent f3c30db2
......@@ -25,6 +25,8 @@ dt_ctrl_LDFLAGS=$(dt_ctrl_sim_LDFLAGS) `controller/ ec/ec.a`
all: console
@echo "document.write('CAMRAS Console <a target="_blank" href=\"` git rev-parse HEAD`\">built at `date \"+%F %R %Z\"` by ${USER} on `hostname -f`</a>');" > $@
@echo " SUBDIR: $(@D)"
@$(MAKE) -C $(@D)
......@@ -40,7 +42,7 @@ console:
@echo " SUBDIR: $@"
@$(MAKE) -C console
.PHONY: console
.PHONY: console console_version.js
rm -f *.o *.d
\ No newline at end of file
......@@ -689,7 +689,14 @@
<table width="100%" border="0">
<a href="mech.html" target="_blank">Mechanics</a>
<td align="right">
<script type="text/javascript" src="console_version.js"></script>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment