fix: remove translations for uninstall command

This commit is contained in:
ngn 2024-07-13 16:58:16 +03:00
parent e8485da6e6
commit 7f6942ea7d

View File

@ -29,7 +29,7 @@ dist/libmp.so: $(OBJS)
dist/%.o: src/%.c
$(CC) -c -Wall -fPIC -o $@ $^ $(LIBS) $(CFLAGS) -DLM_VERSION=\"${VERSION}\" -DLM_DEBUG=${DEBUG}
locale/%.mo: locale/%.po
locale/%.mo: locale/%.po
msgfmt $^ -o $@
locale/%.po: locale/libmp.pot
@ -59,6 +59,9 @@ install:
uninstall:
rm $(DESTDIR)/$(PREFIX)/lib/libmp.so
rm -r $(DESTDIR)/$(PREFIX)/include/libmp
@for po in $(PO_DIRS) ; do \
rm $(DESTDIR)/$(PREFIX)/share/$$po/libmp.mo ; \
done
format:
clang-format -i -style=file src/*.c include/*.h examples/*/*.c