aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordefault <nobody@localhost>2025-02-14 07:04:52 +0100
committerdefault <nobody@localhost>2025-02-14 07:04:52 +0100
commit722eb6830b8dd1ead5718ce6b9fb83248783b5e4 (patch)
tree4e1872187731eb5596c8b66a9e7a8d6af283432e /Makefile
parent92a70be7f23577949bc8c50b736fa37086176e20 (diff)
New Makefile target.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 75d9562..1fddbb2 100644
--- a/Makefile
+++ b/Makefile
@@ -33,6 +33,13 @@ uninstall:
rm $(PREFIX_MAN)/man5/snac.5
rm $(PREFIX_MAN)/man8/snac.8
+update-po:
+ mkdir -p po
+ [ -f "po/en.po" ] || xgettext -o po/en.po --language=C --keyword=L --from-code=utf-8 *.c
+ for a in po/*.po ; do \
+ xgettext --omit-header -j -o $$a --language=C --keyword=L --from-code=utf-8 *.c ; \
+ done
+
activitypub.o: activitypub.c xs.h xs_json.h xs_curl.h xs_mime.h \
xs_openssl.h xs_regex.h xs_time.h xs_set.h xs_match.h xs_unicode.h \
snac.h http_codes.h