summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Sack <asac@jwsdot.com>2008-02-29 14:45:55 +0100
committerAlexander Sack <asac@jwsdot.com>2008-02-29 14:45:55 +0100
commitdfc3b991dbbcd79c1c1b15e440b7593d6b558574 (patch)
tree9a7b7b196282ade9242a9350efd9d969863af929
parente6929f049562ef917e93f8767e50b3e3c7abc231 (diff)
* initial cdbs hooks for lp-locale-export.mk. produce translation .xpi at binary-post-install::
stage and use clean:: to wipe the OUTDIR - update src/lp-locale-export.mk * update changelog documentation - update debian/changelog
-rw-r--r--debian/changelog3
-rw-r--r--src/lp-locale-export.mk5
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index b1bde22..4bfa617 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,7 +2,8 @@ mozilla-devscripts (0.06) UNRELEASED; urgency=low
* introduce support to extract xpi translations from any build tree that
ships chrome.manifest indexed xul/xpi translations. This feature is ment to
- be hooked into install phase of then package build.
+ be hooked into install phase of then package build. cdbs users can just
+ include this helper as we ship the appropriate cdbs hooks.
- add src/lp-locale-export.mk
-- Alexander Sack <asac@ubuntu.com> Thu, 28 Feb 2008 23:52:00 +0100
diff --git a/src/lp-locale-export.mk b/src/lp-locale-export.mk
index 20a6806..de85f9c 100644
--- a/src/lp-locale-export.mk
+++ b/src/lp-locale-export.mk
@@ -105,4 +105,9 @@ auto-locale-xpi.mk/clean:
# ---- hook in cdbs
+# run this in binary-post-install
+binary-post-install/%:: auto-locale-xpi.mk/translate
+
+clean::
+ rm -rf $(MOZ_TRANSLATION_AUTO_XPI_OUTDIR)/