[Python-apps-commits] r2122 - in packages/subdownloader/trunk/debian (3 files)
gothicx-guest at users.alioth.debian.org
gothicx-guest at users.alioth.debian.org
Sun Dec 28 12:19:05 UTC 2008
Date: Sunday, December 28, 2008 @ 12:19:05
Author: gothicx-guest
Revision: 2122
Generate mo files on build; Add copyright notice for locale
Modified:
packages/subdownloader/trunk/debian/changelog
packages/subdownloader/trunk/debian/copyright
packages/subdownloader/trunk/debian/rules
Modified: packages/subdownloader/trunk/debian/changelog
===================================================================
--- packages/subdownloader/trunk/debian/changelog 2008-12-28 07:39:52 UTC (rev 2121)
+++ packages/subdownloader/trunk/debian/changelog 2008-12-28 12:19:05 UTC (rev 2122)
@@ -1,8 +1,8 @@
-subdownloader (2.0.9-1) UNRELEASED; urgency=low
+subdownloader (2.0.9-1) unstable; urgency=low
* New upstream version.
- -- Marco Rodrigues <gothicx at sapo.pt> Mon, 08 Dec 2008 20:51:12 +0000
+ -- Marco Rodrigues <gothicx at sapo.pt> Sun, 28 Dec 2008 12:18:01 +0000
subdownloader (2.0.8.1-1) unstable; urgency=low
Modified: packages/subdownloader/trunk/debian/copyright
===================================================================
--- packages/subdownloader/trunk/debian/copyright 2008-12-28 07:39:52 UTC (rev 2121)
+++ packages/subdownloader/trunk/debian/copyright 2008-12-28 12:19:05 UTC (rev 2122)
@@ -77,5 +77,8 @@
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
+* locale/*:
+ Copyright (c) 2008 Rosetta Contributors and Canonical Ltd 2008
+
The Debian packaging is (C) 2008, Marco Rodrigues <gothicx at sapo.pt> and
is licensed under the GPL, see above.
Modified: packages/subdownloader/trunk/debian/rules
===================================================================
--- packages/subdownloader/trunk/debian/rules 2008-12-28 07:39:52 UTC (rev 2121)
+++ packages/subdownloader/trunk/debian/rules 2008-12-28 12:19:05 UTC (rev 2122)
@@ -9,7 +9,7 @@
clean:
dh clean
-install: build copy-mo-files
+install: build generate-mo-files
dh install
# Make it executable to run.py
@@ -25,10 +25,11 @@
binary: binary-indep binary-arch
-copy-mo-files:
+generate-mo-files:
for lang in $(LANGUAGES); do \
+ localedir=debian/subdownloader/usr/share/locale/$$lang/LC_MESSAGES; \
dh_installdirs -psubdownloader usr/share/locale/$$lang/LC_MESSAGES; \
- dh_install -psubdownloader locale/$$lang/LC_MESSAGES/subdownloader.mo usr/share/locale/$$lang/LC_MESSAGES; \
+ msgfmt --directory=locale $$lang/LC_MESSAGES/subdownloader.po --output-file=$$localedir/subdownloader.mo; \
done
.PHONY: build clean binary-indep binary-arch binary install
More information about the Python-apps-commits
mailing list