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/ dt_azimuth/dt_azimuth.a dt_elevation/dt_elevation.a controller/controller.a`
dt_ctrl_LDFLAGS=$(dt_ctrl_sim_LDFLAGS) `controller/ ec/ec.a`
all: console
all: console htdocs/console_version.js
@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)"
......@@ -42,7 +42,7 @@ console:
@echo " SUBDIR: $@"
@$(MAKE) -C console
.PHONY: console console_version.js
.PHONY: console htdocs/console_version.js
rm -f *.o *.d
\ 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