aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Hesse <mail@eworm.de>2017-06-01 00:25:44 +0200
committerChristian Hesse <mail@eworm.de>2017-06-01 00:25:44 +0200
commitbd5f93d6a4338f2026a9d9ba9bf81cfdb7575deb (patch)
tree79b6f4398c7ad40deb2a3fc2109901343b178764 /Makefile
parent697966c08bc1a298c02fc8d3ba484cdae2117d40 (diff)
downloadvis-bd5f93d6a4338f2026a9d9ba9bf81cfdb7575deb.tar.gz
vis-bd5f93d6a4338f2026a9d9ba9bf81cfdb7575deb.tar.xz
build: inject the version into docker image
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 6be1b62..0c4e072 100644
--- a/Makefile
+++ b/Makefile
@@ -92,6 +92,7 @@ docker: clean
docker build -t vis .
docker run --rm -d --name vis vis tail -f /dev/null
docker cp . vis:/tmp/vis
+ docker exec vis sed -i '/^VERSION/c VERSION = $(VERSION)' Makefile
docker exec vis ./configure CC='cc --static'
docker exec vis make clean vis-single
docker cp vis:/tmp/vis/vis-single vis