summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-06-11 12:36:38 +0200
committerMarcello Stanisci <stanisci.m@gmail.com>2019-06-11 12:36:38 +0200
commit925e23c5673105bc1a26ff47a81dac23aefd9c92 (patch)
treea46e6e0e1336c20b6a10c9ff49c868867655d6f7 /Makefile
parentf1e1c4620b7d2c7f50f6e0aa4cbf6525a06111fe (diff)
downloadauditor-925e23c5673105bc1a26ff47a81dac23aefd9c92.tar.gz
auditor-925e23c5673105bc1a26ff47a81dac23aefd9c92.tar.bz2
auditor-925e23c5673105bc1a26ff47a81dac23aefd9c92.zip
Workaround: requirements.txt.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e6f461f..18ab52c 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,9 @@
include config.mk
+requirements:
+ pip3 install -r requirements.txt
+
# All: build HTML pages in all languages and compile the
# TypeScript logic in web-common.
all: locale template
@@ -21,7 +24,7 @@ locale/messages.pot: *.j2 # common/*.j2 common/*.j2.inc
locale-update: locale/messages.pot
msgmerge -U -m --previous locale/en/LC_MESSAGES/messages.po locale/messages.pot
- if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then echo -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi
+ @if grep -nA1 '#-#-#-#-#' locale/*/LC_MESSAGES/messages.po; then echo -e "\nERROR: Conflicts encountered in PO files.\n"; exit 1; fi
# Compile translation files for use.
locale-compile: