diff options
author | Martin Quinson <mquinson@debian.org> | 2003-02-14 13:18:11 +0000 |
---|---|---|
committer | Martin Quinson <mquinson@debian.org> | 2003-02-14 13:18:11 +0000 |
commit | 79a014a2ea88e84ab0f494efcf7a11b92c4bc6af (patch) | |
tree | 67323a104667a1767d61e2412c6ea5a6353ae6d2 /po/Makefile | |
parent | b324e11dcfa120a1cf5827c0c5a96ef28a7743cf (diff) | |
download | quilt-79a014a2ea88e84ab0f494efcf7a11b92c4bc6af.tar.gz |
Implement i18n, french l10n and bump version number
Diffstat (limited to 'po/Makefile')
-rw-r--r-- | po/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/po/Makefile b/po/Makefile new file mode 100644 index 0000000..3e10c82 --- /dev/null +++ b/po/Makefile @@ -0,0 +1,35 @@ +QUILT_IN := add applied delete diff files import new next patches \ + pop previous push refresh remove series setup top unapplied \ + guidiff +SCRIPTS_IN := apatch rpatch patchfns spec2series patchfns +# scripts/parse-patch is perl based + +TO_PARSE= $(foreach f,$(QUILT_IN),../quilt/$(f).in) \ + $(foreach f,$(SCRIPTS_IN),../scripts/$(f).in) \ + ../bin/quilt.in + + +all: fr.mo + +%.mo : %.po + msgfmt --statistics -o $@ $< + +%.po : quilt.pot + msgmerge -o $@ $@ $^ + +quilt.pot: $(TO_PARSE) + rm -f quilt.pot; touch quilt.pot + for file in $(TO_PARSE) ; do \ + bash --dump-po-strings $$file \ + |msguniq\ + |msgcat --force-po -F - quilt.pot -o quilt.pot; \ + done + +clean: + rm -f *.mo *~ + +install: all + install -d $(BUILD_ROOT)/usr/share/locale/fr/LC_MESSAGES + install -m644 fr.mo $(BUILD_ROOT)/usr/share/locale/fr/LC_MESSAGES/quilt.mo + +.PHONY: install clean all |