diff options
author | ng0 <ng0@n0.is> | 2019-03-03 12:20:15 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-03-03 12:20:15 +0000 |
commit | f2703706a944c9669ef8ebd46a7aa8094a04389c (patch) | |
tree | cc764d223d3829c4654486ebdec141a1a4b3f41f /Makefile | |
parent | 02c846bd7ff7e91a43be6f6f9dea757a3669d7a0 (diff) | |
download | www-f2703706a944c9669ef8ebd46a7aa8094a04389c.tar.gz www-f2703706a944c9669ef8ebd46a7aa8094a04389c.tar.bz2 www-f2703706a944c9669ef8ebd46a7aa8094a04389c.zip |
Makefile: Add show-help, git submodule rules.
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 |