aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2015-04-22 13:40:11 +0200
committerAngelo Naselli <anaselli@linux.it>2015-04-22 13:40:11 +0200
commit3520dca63d26723c61f3426ea4ea32605873cb57 (patch)
tree94ee0f50d9f58687f5783b409d6c700131546be4
parent501009369ecfe788943dc1100501ec126c92417d (diff)
downloadcolin-keep-3520dca63d26723c61f3426ea4ea32605873cb57.tar
colin-keep-3520dca63d26723c61f3426ea4ea32605873cb57.tar.gz
colin-keep-3520dca63d26723c61f3426ea4ea32605873cb57.tar.bz2
colin-keep-3520dca63d26723c61f3426ea4ea32605873cb57.tar.xz
colin-keep-3520dca63d26723c61f3426ea4ea32605873cb57.zip
Fixed some headers, and changed targets to clean_locales and
install_locales instead of mo
-rw-r--r--Makefile.PL9
-rw-r--r--po/manatools.pot8
2 files changed, 10 insertions, 7 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 4dc3a7a..d133a89 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -117,20 +117,23 @@ GOALS = $(PGOAL).pot $(MOFILES)
locales: $(GOALS)
-install_mo: locales
+install_locales: locales
for l in $(LANGS); do \
install -d $(localedir)/$$l/LC_MESSAGES; \
install -m 644 $$l.mo $(localedir)/$$l/LC_MESSAGES/$(PGOAL).mo; \
done
-clean_mo:
- rm -f *~ *.[oas] *.mo TAGS POTFILES.in
+clean_locales:
+ rm -f po/*~ po/*.[oas] po/*.mo
%.mo: %.po
msgfmt --check -o $@ $<
$(PGOAL).pot: $(PL_FILES)
xgettext --from-code=UTF-8 --language=Perl -D ./ -o po/$@ \
+ --msgid-bugs-address="https://bugs.mageia.org/" \
+ --package-name=$(NAME) --package-version=$(VERSION) \
+ --copyright-holder="Angelo Naselli - Matteo Pasotti" \
--keyword=N --keyword=N_ --keyword=P \
$(PL_FILES)
diff --git a/po/manatools.pot b/po/manatools.pot
index 40a0413..fb1650c 100644
--- a/po/manatools.pot
+++ b/po/manatools.pot
@@ -1,14 +1,14 @@
# SOME DESCRIPTIVE TITLE.
-# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# Copyright (C) YEAR Angelo Naselli - Matteo Pasotti
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
-"Project-Id-Version: PACKAGE VERSION\n"
-"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2015-04-21 16:28+0200\n"
+"Project-Id-Version: ManaTools 1.0.1\n"
+"Report-Msgid-Bugs-To: https://bugs.mageia.org/\n"
+"POT-Creation-Date: 2015-04-22 13:39+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"