aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2023-11-04 17:42:08 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2023-11-04 17:42:08 +0000
commit8d750ce02f00531871737e8afeb2805af6e221a3 (patch)
treed55b69f5beebfed9d5c9ae984c38cfe9a91730a6 /Makefile
parent7e85ba6752d0f4adaeba87bd800117eb910e748c (diff)
downloadqarepo-8d750ce02f00531871737e8afeb2805af6e221a3.tar
qarepo-8d750ce02f00531871737e8afeb2805af6e221a3.tar.gz
qarepo-8d750ce02f00531871737e8afeb2805af6e221a3.tar.bz2
qarepo-8d750ce02f00531871737e8afeb2805af6e221a3.tar.xz
qarepo-8d750ce02f00531871737e8afeb2805af6e221a3.zip
Add support for i18n.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c33f1e7..394163f 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,11 @@
NAME = qarepo
-VERSION = 1.6
+VERSION = 1.7
DESTDIR=
all:
+ make -C po
+ intltool-merge --utf8 po qarepo.desktop.in qarepo.desktop -d -u -c intltool-merge-cache
sed -i "s/version = '.*';/version = 'v${VERSION}';/" qarepo
check:
@@ -20,6 +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
dist:
@git archive --prefix=$(NAME)-$(VERSION)/ HEAD | xz > $(NAME)-$(VERSION).tar.xz;