diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -44,3 +44,16 @@ current_dir = $(shell pwd) | |||
44 | run: all | 44 | run: 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 | |||
51 | docker: docker-all | ||
52 | |||
53 | docker-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 | |||