From 5f93135457d1b8b4c978dd81a99641438d5e8c73 Mon Sep 17 00:00:00 2001 From: ngn Date: Thu, 11 Jul 2024 13:49:57 +0300 Subject: [PATCH] fix: Makefile commands --- Makefile | 16 ++++++++-------- locale/tr/LC_MESSAGES/libmp.po | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 4be1007..ffc2425 100644 --- a/Makefile +++ b/Makefile @@ -47,21 +47,21 @@ locale/libmp.pot: $(SRCS) xgettext -k_ -c $^ -o $@ install: - install -m755 dist/libmp.so $(DESTDIR)$(PREFIX)/lib/libmp.so - mkdir -pv $(DESTDIR)/usr/include/libmp + install -m755 dist/libmp.so $(DESTDIR)/$(PREFIX)/lib/libmp.so + mkdir -pv $(DESTDIR)/$(PREFIX)/include/libmp cp $(HDRS) $(DESTDIR)/usr/include/libmp @for po in $(PO_DIRS) ; do \ echo "installing locale: $$po/libmp.mo" ; \ - mkdir -pv $(DESTDIR)/usr/share/$$po ; \ - cp $$po/libmp.mo $(DESTDIR)/usr/share/$$po ; \ + mkdir -pv $(DESTDIR)/$(PREFIX)/share/$$po ; \ + cp $$po/libmp.mo $(DESTDIR)/$(PREFIX)/share/$$po ; \ done uninstall: - rm $(DESTDIR)$(PREFIX)/lib/libmp.so - rm -r $(DESTDIR)/usr/include/libmp + rm $(DESTDIR)/$(PREFIX)/lib/libmp.so + rm -r $(DESTDIR)/$(PREFIX)/include/libmp format: - clang-format -i -style=file src/*.c src/*.c include/*.h examples/*/*.c + clang-format -i -style=file src/*.c include/*.h examples/*/*.c examples: ifeq (,$(wildcard dist/libmp.so)) @@ -70,4 +70,4 @@ ifeq (,$(wildcard dist/libmp.so)) endif $(MAKE) -C $@ -.PHONY: test install uninstall format examples +.PHONY: install uninstall format examples diff --git a/locale/tr/LC_MESSAGES/libmp.po b/locale/tr/LC_MESSAGES/libmp.po index 0b3d653..0b1b1d9 100644 --- a/locale/tr/LC_MESSAGES/libmp.po +++ b/locale/tr/LC_MESSAGES/libmp.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2024-07-11 07:49+0300\n" +"POT-Creation-Date: 2024-07-11 13:49+0300\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n"