aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3151564e..981bb747 100644
--- a/Makefile
+++ b/Makefile
@@ -44,3 +44,16 @@ current_dir = $(shell pwd)
44run: all 44run: all
45 @[ "$(BROWSER)" ] || ( echo "You need to export the environment variable 'BROWSER' to run this."; exit 1 ) 45 @[ "$(BROWSER)" ] || ( echo "You need to export the environment variable 'BROWSER' to run this."; exit 1 )
46 $(RUN_BROWSER) $(current_dir)/en/index.html 46 $(RUN_BROWSER) $(current_dir)/en/index.html
47
48
49# docker-all: Build using a docker image which contains all the needed packages.
50
51docker: docker-all
52
53docker-all:
54 docker build -t gnunet-www-builder .
55 # Importing via the shell like this is hacky,
56 # but after trying lots of other ways, this works most reliably...
57 python3 -c 'import i18nfix'
58 docker run --rm -v $$(pwd):/tmp/ --user $$(id -u):$$(id -g) gnunet-www-builder
59