summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--po/Makefile27
1 files changed, 3 insertions, 24 deletions
diff --git a/po/Makefile b/po/Makefile
index ea9b4f2..87e3c9d 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -13,7 +13,9 @@ clean:
rm -rf $$lang;\
done
-
+dist: tar
+tar:
+ git archive --prefix $(PACKAGE_NAME)-$(VERSION)/ $(VERSION) | xz -9 > $(PACKAGE_NAME)-$(VERSION).tar.xz
pot:
cat ../usr/share/applications/$(PACKAGE_NAME).desktop.in | grep _ | cut -d "=" --fields=2 | sed 's|^|_("|g' | sed 's|$$|")|g' > ../usr/share/applications/$(PACKAGE_NAME).desktop.tmp
xgettext --copyright-holder='Daniel Napora <napcok@gmail.com>' --package-name=mageiawelcome --from-code=UTF-8 --add-comments \
@@ -33,27 +35,4 @@ po:
rm -f $$lang-old.po; \
done
-gmo:
- @echo " **COMPILING** languages: $(LANGUAGES)"
- @for lang in $(LANGUAGES); do \
- echo " **COMPILEMO** $$lang" ; \
- mkdir -p $$lang/LC_MESSAGES/; \
- msgfmt --verbose -o $$lang/LC_MESSAGES/$(PACKAGE_NAME).mo $$lang.po; \
- done
-
-qm:
- @echo " **COMPILING** languages: $(LANGUAGES)"
- @for lang in $(LANGUAGES); do \
- echo " **COMPILEMO** $$lang" ; \
- lconvert -o $$lang.ts $$lang.po ; \
- lrelease $$lang.ts ; \
- done
-
-install:
- @echo " **INSTALL** languages: $(LANGUAGES)"
- mkdir -p $(DESTDIR)/share/mageiawelcome/translations/
- @for lang in $(LANGUAGES); do \
- echo " **INSTALLMO** $$lang" ; \
- cp $$lang.qm $(DESTDIR)/share/mageiawelcome/translations/mageiawelcome_$$lang.qm; \
- done