From efea4790e9f381a5bc52a01d5ff68f7563b9004f Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 15 May 2025 04:22:17 -0300 Subject: Add po/gotext/ --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 008ee15..087bbb6 100644 --- a/Makefile +++ b/Makefile @@ -204,6 +204,8 @@ i18n-doc: po4a po/doc/po4a.cfg i18n-code: + gotext -k 'Gettext' src/$(NAME).go > po/$(NAME)/$(NAME).pot + po4a po/$(NAME)/po4a.cfg gotext tests/functional/api-usage/gotext.go > po/tests/tests.pot po4a po/tests/po4a.cfg @@ -229,6 +231,7 @@ install: all cp src/$(NAME).a '$(DESTDIR)$(GOLIBDIR)' cp $(sources) '$(DESTDIR)$(SRCDIR)' instool '$(DESTDIR)$(MANDIR)' install man $(manpages.N) + instool '$(DESTDIR)$(LOCALEDIR)' install mo $(sources.mo) ## Uninstalls from $(DESTDIR)$(PREFIX). This is a perfect mirror ## of the "install" target, and removes *all* that was installed. @@ -240,6 +243,7 @@ uninstall: '$(DESTDIR)$(SRCDIR)' \ instool '$(DESTDIR)$(MANDIR)' uninstall man $(manpages.N) + instool '$(DESTDIR)$(LOCALEDIR)' uninstall mo $(sources.mo) -- cgit v1.2.3