diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 21 |
1 files changed, 14 insertions, 7 deletions
| @@ -38,24 +38,31 @@ uninstall: | |||
| 38 | rm $(PREFIX_MAN)/man5/snac.5 | 38 | rm $(PREFIX_MAN)/man5/snac.5 |
| 39 | rm $(PREFIX_MAN)/man8/snac.8 | 39 | rm $(PREFIX_MAN)/man8/snac.8 |
| 40 | 40 | ||
| 41 | update-po: | ||
| 42 | mkdir -p po | ||
| 43 | [ -f "po/en.po" ] || xgettext -o po/en.po --language=C --keyword=L --from-code=utf-8 *.c | ||
| 44 | for a in po/*.po ; do \ | ||
| 45 | xgettext --omit-header -j -o $$a --language=C --keyword=L --from-code=utf-8 *.c ; \ | ||
| 46 | done | ||
| 47 | |||
| 41 | activitypub.o: activitypub.c xs.h xs_json.h xs_curl.h xs_mime.h \ | 48 | activitypub.o: activitypub.c xs.h xs_json.h xs_curl.h xs_mime.h \ |
| 42 | xs_openssl.h xs_regex.h xs_time.h xs_set.h xs_match.h xs_unicode.h \ | 49 | xs_openssl.h xs_regex.h xs_time.h xs_set.h xs_match.h xs_unicode.h \ |
| 43 | snac.h http_codes.h | 50 | snac.h http_codes.h |
| 44 | data.o: data.c xs.h xs_hex.h xs_io.h xs_json.h xs_openssl.h xs_glob.h \ | 51 | data.o: data.c xs.h xs_hex.h xs_io.h xs_json.h xs_openssl.h xs_glob.h \ |
| 45 | xs_set.h xs_time.h xs_regex.h xs_match.h xs_unicode.h xs_random.h snac.h \ | 52 | xs_set.h xs_time.h xs_regex.h xs_match.h xs_unicode.h xs_random.h \ |
| 46 | http_codes.h | 53 | xs_po.h snac.h http_codes.h |
| 47 | format.o: format.c xs.h xs_regex.h xs_mime.h xs_html.h xs_json.h \ | 54 | format.o: format.c xs.h xs_regex.h xs_mime.h xs_html.h xs_json.h \ |
| 48 | xs_time.h xs_match.h snac.h http_codes.h | 55 | xs_time.h xs_match.h snac.h http_codes.h |
| 49 | html.o: html.c xs.h xs_io.h xs_json.h xs_regex.h xs_set.h xs_openssl.h \ | 56 | html.o: html.c xs.h xs_io.h xs_json.h xs_regex.h xs_set.h xs_openssl.h \ |
| 50 | xs_time.h xs_mime.h xs_match.h xs_html.h xs_curl.h xs_unicode.h snac.h \ | 57 | xs_time.h xs_mime.h xs_match.h xs_html.h xs_curl.h xs_unicode.h xs_url.h \ |
| 51 | http_codes.h | 58 | snac.h http_codes.h |
| 52 | http.o: http.c xs.h xs_io.h xs_openssl.h xs_curl.h xs_time.h xs_json.h \ | 59 | http.o: http.c xs.h xs_io.h xs_openssl.h xs_curl.h xs_time.h xs_json.h \ |
| 53 | snac.h http_codes.h | 60 | snac.h http_codes.h |
| 54 | httpd.o: httpd.c xs.h xs_io.h xs_json.h xs_socket.h xs_unix_socket.h \ | 61 | httpd.o: httpd.c xs.h xs_io.h xs_json.h xs_socket.h xs_unix_socket.h \ |
| 55 | xs_httpd.h xs_mime.h xs_time.h xs_openssl.h xs_fcgi.h xs_html.h snac.h \ | 62 | xs_httpd.h xs_mime.h xs_time.h xs_openssl.h xs_fcgi.h xs_html.h snac.h \ |
| 56 | http_codes.h | 63 | http_codes.h |
| 57 | main.o: main.c xs.h xs_io.h xs_json.h xs_time.h xs_openssl.h snac.h \ | 64 | main.o: main.c xs.h xs_io.h xs_json.h xs_time.h xs_openssl.h xs_match.h \ |
| 58 | http_codes.h | 65 | snac.h http_codes.h |
| 59 | mastoapi.o: mastoapi.c xs.h xs_hex.h xs_openssl.h xs_json.h xs_io.h \ | 66 | mastoapi.o: mastoapi.c xs.h xs_hex.h xs_openssl.h xs_json.h xs_io.h \ |
| 60 | xs_time.h xs_glob.h xs_set.h xs_random.h xs_url.h xs_mime.h xs_match.h \ | 67 | xs_time.h xs_glob.h xs_set.h xs_random.h xs_url.h xs_mime.h xs_match.h \ |
| 61 | snac.h http_codes.h | 68 | snac.h http_codes.h |
| @@ -63,7 +70,7 @@ sandbox.o: sandbox.c xs.h snac.h http_codes.h | |||
| 63 | snac.o: snac.c xs.h xs_hex.h xs_io.h xs_unicode_tbl.h xs_unicode.h \ | 70 | snac.o: snac.c xs.h xs_hex.h xs_io.h xs_unicode_tbl.h xs_unicode.h \ |
| 64 | xs_json.h xs_curl.h xs_openssl.h xs_socket.h xs_unix_socket.h xs_url.h \ | 71 | xs_json.h xs_curl.h xs_openssl.h xs_socket.h xs_unix_socket.h xs_url.h \ |
| 65 | xs_httpd.h xs_mime.h xs_regex.h xs_set.h xs_time.h xs_glob.h xs_random.h \ | 72 | xs_httpd.h xs_mime.h xs_regex.h xs_set.h xs_time.h xs_glob.h xs_random.h \ |
| 66 | xs_match.h xs_fcgi.h xs_html.h snac.h http_codes.h | 73 | xs_match.h xs_fcgi.h xs_html.h xs_po.h snac.h http_codes.h |
| 67 | upgrade.o: upgrade.c xs.h xs_io.h xs_json.h xs_glob.h snac.h http_codes.h | 74 | upgrade.o: upgrade.c xs.h xs_io.h xs_json.h xs_glob.h snac.h http_codes.h |
| 68 | utils.o: utils.c xs.h xs_io.h xs_json.h xs_time.h xs_openssl.h \ | 75 | utils.o: utils.c xs.h xs_io.h xs_json.h xs_time.h xs_openssl.h \ |
| 69 | xs_random.h xs_glob.h xs_curl.h xs_regex.h snac.h http_codes.h | 76 | xs_random.h xs_glob.h xs_curl.h xs_regex.h snac.h http_codes.h |