Skip to content

Commit 702b37d

Browse files
committed
Makefile.am: Remove zanata usage
We use weblate for translations now, but I've left zanata.xml in DISTCLEAN list for a while to prevent the file lingering in the git repo.
1 parent 5976b10 commit 702b37d

2 files changed

Lines changed: 0 additions & 34 deletions

File tree

Makefile.am

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -315,31 +315,9 @@ html: $(EXPORT_MODULES) $(EXPORT_MODULES_GEN)
315315

316316
distcheck-hook: update-po missing-imports
317317

318-
# Generate Zanata locales list from ALL_LINGUAS
319-
zanata.xml: zanata.xml.in
320-
LOCALES=$$(echo $(ALL_LINGUAS) | sed -e 's, ,\n,g' | \
321-
(NL="\\\\\n"; printf "/\@LOCALES\@/i"; while read ll; do \
322-
nomap="$${ll##*_*}"; \
323-
if [ -z "$$nomap" ]; then \
324-
printf "$$NL <locale map-from=\"$$ll\">$${ll%_*}-$${ll#*_}</locale>";\
325-
else \
326-
printf "$$NL <locale>$$ll</locale>"; \
327-
fi; \
328-
done; \
329-
printf "\n") \
330-
); \
331-
sed -e 's,\@PACKAGE\@,$(PACKAGE),g' \
332-
-e "$$LOCALES" -e '/\@LOCALES\@/d' $< > $@
333-
334318
update-po: missing-languages
335319
$(MAKE) -C po update-po
336320

337-
pull-translations: zanata.xml
338-
zanata-cli -B pull --src-dir=$(top_srcdir)/po --trans-dir=$(top_srcdir)/po
339-
340-
push-translations: zanata.xml
341-
zanata-cli -B push --src-dir=$(top_srcdir)/po --trans-dir=$(top_srcdir)/po
342-
343321
missing-languages:
344322
bash -c '\
345323
eval $$(grep ALL_LINGUAS configure.ac); \

zanata.xml.in

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)