From dfc3b991dbbcd79c1c1b15e440b7593d6b558574 Mon Sep 17 00:00:00 2001 From: Alexander Sack Date: Fri, 29 Feb 2008 14:45:55 +0100 Subject: * 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 --- debian/changelog | 3 ++- src/lp-locale-export.mk | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 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)/ -- cgit v1.2.3