Commit 6fad8df1 authored by Michel Roelofs's avatar Michel Roelofs
Browse files

Build the console_version.js directly in htdocs

parent c95c17ab
......@@ -23,9 +23,9 @@ ARCHIVES= \
dt_ctrl_sim_LDFLAGS=`controller/block_list.sh dt_azimuth/dt_azimuth.a dt_elevation/dt_elevation.a controller/controller.a`
dt_ctrl_LDFLAGS=$(dt_ctrl_sim_LDFLAGS) `controller/block_list.sh ec/ec.a`
all: console
all: console htdocs/console_version.js
console_version.js:
htdocs/console_version.js:
@echo "document.write('CAMRAS Console <a target="_blank" href=\"https://eris.camras.nl/redmine/projects/console/repository/revisions/` git rev-parse HEAD`\">built at `date \"+%F %R %Z\"` by ${USER} on `hostname -f`</a>');" > $@
%.a:
@echo " SUBDIR: $(@D)"
......@@ -42,7 +42,7 @@ console:
@echo " SUBDIR: $@"
@$(MAKE) -C console
.PHONY: console console_version.js
.PHONY: console htdocs/console_version.js
clean:
rm -f *.o *.d
......
../console_version.js
\ No newline at end of file
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