diff options
author | Zach van Rijn <me@zv.io> | 2021-06-01 05:31:29 +0000 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2021-06-01 05:31:29 +0000 |
commit | befec75301490ac44643c084637beefdaa877934 (patch) | |
tree | bd4e2c3c744d89a4ac10a412bced3d72c7b0a32d /devel/Makefile | |
parent | cc5bdbb1633b53ba26989b9665216681a254fde7 (diff) | |
download | horizon-befec75301490ac44643c084637beefdaa877934.tar.gz horizon-befec75301490ac44643c084637beefdaa877934.tar.bz2 horizon-befec75301490ac44643c084637beefdaa877934.tar.xz horizon-befec75301490ac44643c084637beefdaa877934.zip |
Dockerize Horizon docs too, but TODO fix CORS nonsense (or migrate these docs and forget that).
Diffstat (limited to 'devel/Makefile')
-rw-r--r-- | devel/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 789b350..ea1d8a4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -2,6 +2,17 @@ all: requirements/html/index.html script/html/index.html vision/html/index.html +image: + docker build . -t cookbook +site: + docker run -u$(shell id -u):$(shell id -g) -v$(CURDIR):/tmp -w /tmp --rm -it cookbook make + rm -fr out + mkdir out + cp index.html out + mv requirements/html out/requirements + mv script/html out/script + mv vision/html out/vision + requirements/html/index.html: requirements/*.xml master.xsl pretty.css @make -C requirements |