summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2021-06-01 05:06:00 +0000
committerZach van Rijn <me@zv.io>2021-06-01 05:06:00 +0000
commitbe73ad4ac5b9e34d7736b6744d965134afff95d8 (patch)
tree17aa5b486117ea770440a68bc1be33e74b8f42ca /Makefile
parent9da984f5c8aaeca798a64c0bb15a2f99988d4fa8 (diff)
downloaddocs-be73ad4ac5b9e34d7736b6744d965134afff95d8.tar.gz
docs-be73ad4ac5b9e34d7736b6744d965134afff95d8.tar.bz2
docs-be73ad4ac5b9e34d7736b6744d965134afff95d8.tar.xz
docs-be73ad4ac5b9e34d7736b6744d965134afff95d8.zip
Dockerize docbook stuff.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7aef63d..1ae52ae 100644
--- a/Makefile
+++ b/Makefile
@@ -6,6 +6,11 @@ all: out/html/devel/index.html out/text/develbook.txt \
out/html/admin/index.html out/text/adminbook.txt \
out/html/hcl/index.html out/text/hclbook.txt
+image:
+ docker build . -t cookbook
+site:
+ docker run -u$(shell id -u):$(shell id -g) -v$(CURDIR):/tmp -w /tmp --rm -it cookbook make
+
out/text/adminbook.txt: src/admin/*.xml
@mkdir -p out/text
@printf 'Administrator Handbook: Generating text...\n'