fix: remove translations for uninstall command
This commit is contained in:
parent
e8485da6e6
commit
7f6942ea7d
5
Makefile
5
Makefile
@ -29,7 +29,7 @@ dist/libmp.so: $(OBJS)
|
|||||||
dist/%.o: src/%.c
|
dist/%.o: src/%.c
|
||||||
$(CC) -c -Wall -fPIC -o $@ $^ $(LIBS) $(CFLAGS) -DLM_VERSION=\"${VERSION}\" -DLM_DEBUG=${DEBUG}
|
$(CC) -c -Wall -fPIC -o $@ $^ $(LIBS) $(CFLAGS) -DLM_VERSION=\"${VERSION}\" -DLM_DEBUG=${DEBUG}
|
||||||
|
|
||||||
locale/%.mo: locale/%.po
|
locale/%.mo: locale/%.po
|
||||||
msgfmt $^ -o $@
|
msgfmt $^ -o $@
|
||||||
|
|
||||||
locale/%.po: locale/libmp.pot
|
locale/%.po: locale/libmp.pot
|
||||||
@ -59,6 +59,9 @@ install:
|
|||||||
uninstall:
|
uninstall:
|
||||||
rm $(DESTDIR)/$(PREFIX)/lib/libmp.so
|
rm $(DESTDIR)/$(PREFIX)/lib/libmp.so
|
||||||
rm -r $(DESTDIR)/$(PREFIX)/include/libmp
|
rm -r $(DESTDIR)/$(PREFIX)/include/libmp
|
||||||
|
@for po in $(PO_DIRS) ; do \
|
||||||
|
rm $(DESTDIR)/$(PREFIX)/share/$$po/libmp.mo ; \
|
||||||
|
done
|
||||||
|
|
||||||
format:
|
format:
|
||||||
clang-format -i -style=file src/*.c include/*.h examples/*/*.c
|
clang-format -i -style=file src/*.c include/*.h examples/*/*.c
|
||||||
|
Loading…
Reference in New Issue
Block a user