aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--NEWS1
-rw-r--r--po/Makefile8
3 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 394163f..5beab6c 100644
--- a/Makefile
+++ b/Makefile
@@ -22,7 +22,7 @@ install:
install -m 0644 qarepo.desktop $(DESTDIR)/usr/share/applications
install -m 0644 org.mageia.qarepo-helper.policy $(DESTDIR)/usr/share/polkit-1/actions
install -m 0644 org.mageia.qarepo-helper.rules $(DESTDIR)/usr/share/polkit-1/rules.d
- make -c po install
+ make -C po install
dist:
@git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz > $(NAME)-$(VERSION).tar.xz;
diff --git a/NEWS b/NEWS
index 49b792d..1692212 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- add UI translations
- remove --upgrade option from suggested downgrade command (mga#32333)
- support https in repository URLs
diff --git a/po/Makefile b/po/Makefile
index 9fbc4a7..bc6abc5 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -1,6 +1,6 @@
NAME = qarepo
-localedir = ${prefix}/share/locale
+LOCALEDIR = $(DESTDIR)/usr/share/locale
PL_FILE = ../$(NAME)
DT_FILE = ../$(NAME).desktop.in
@@ -9,7 +9,7 @@ POFILES = $(wildcard *.po)
MOFILES = $(POFILES:%.po=%.mo)
LANGS = $(POFILES:%.po=%)
-all: $(NAME).pot $(POFILES) $(MOFILES)
+all: $(MOFILES)
%.mo: %.po
msgfmt -o $@ $<
@@ -24,8 +24,8 @@ $(NAME).pot: $(PL_FILE) $(DT_FILE)
install: all
for l in $(LANGS); do \
- install -d $(localedir)/$$l/LC_MESSAGES; \
- install -m 644 $$l.mo $(localedir)/$$l/LC_MESSAGES/$(NAME).mo; \
+ install -d $(LOCALEDIR)/$$l/LC_MESSAGES; \
+ install -m 644 $$l.mo $(LOCALEDIR)/$$l/LC_MESSAGES/$(NAME).mo; \
done
clean: