aboutsummaryrefslogtreecommitdiffhomepage
path: root/GNUmakefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-11-03 15:51:56 +0100
committerThomas Voss <mail@thomasvoss.com> 2025-11-03 15:51:56 +0100
commitef4e140949408a917b45cc253dd38d229e34f46b (patch)
treef0b877c76e94b84b7c55cf2bf54a5bd280ddb358 /GNUmakefile
parent15f841ab43fd9b431e93d2e870c23ae7695929cc (diff)
Support extracting translations from SQL scripts
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 3d7ec2c..e9b2eae 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -21,7 +21,7 @@ extract: extpo extwiki
find . -name '*.go' -exec xgotext --foreign-user -o po/backend.pot {} +
find . -name '*.html.tmpl' -exec ./extwiki {} + \
| gofmt >src/wikipedia/links.gen.go
- find . -name '*.html.tmpl' -exec ./extpo {} + \
+ find . \( -name '*.html.tmpl' -or -name '*.sql' \) -exec ./extpo {} + \
| msgcat po/backend.pot - -o po/messages.pot
for bcp in $(ENABLED_LANGUAGES); \
do \