update: add support for redirect

This commit is contained in:
ngn
2024-05-09 23:17:18 +03:00
parent 5ad1b09971
commit b8243e3ee9
6 changed files with 122 additions and 22 deletions

View File

@ -6,7 +6,7 @@ PO_SRCS = $(wildcard locale/*/*/*.po)
PO_OUTS = $(patsubst locale/%.po,locale/%.mo,$(PO_SRCS))
PO_DIRS = $(wildcard locale/*/*)
VERSION = 24.01
VERSION = 24.02
prefix = /usr
CC = gcc
@ -14,7 +14,7 @@ all: dist/mc $(PO_OUTS)
dist/mc: $(CSRCS) $(HEADERS)
mkdir -p dist
$(CC) $(CFLAGS) $(CSRCS) -o $@ -DVERSION=\"${VERSION}\" -linih -lgit2 -lcrypto
$(CC) $(CFLAGS) $(CSRCS) -o $@ -DVERSION=\"${VERSION}\" -linih -lgit2 -lcurl -lcrypto
locale/%.mo: locale/%.po
msgfmt $^ -o $@