diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -8,6 +8,19 @@ include config.mk +.SILENT: show-help + +show-help: + printf "all:\t\t\tBuild the website\n" + printf "locale/messages.pot:\tExtract translateable strings from jinja2 templates.\n" + printf "locale-update:\t\tUpdate translation files with new strings.\n" + printf "locale-compile:\t\tCompile translation files for use.\n" + printf "locale:\t\t\tProcess everything related to gettext translations.\n" + printf "template:\t\texpand jinja2 templates to html.\n" + printf "run:\t\t\tspawn python webserver and open the current directory.\n" + printf "clean:\t\t\tclean.\n" + printf "submodules/init:\tinit git submodules\n" + printf "submodules/update:\tupdate git submodules\n" # All: build HTML pages in all languages and compile the # TypeScript logic in web-common. @@ -58,3 +71,9 @@ clean: rm -rf __pycache__ rm -rf en/ de/ fr/ it/ es/ ru/ rm -rf rendered/ + +submodules/init: + git submodule update --init --recursive + +submodules/update: + git submodule update --recursive --remote |