r20552 - in /packages/unstable/tasks/debian: changelog rules

lool at users.alioth.debian.org lool at users.alioth.debian.org
Thu Jul 2 09:45:03 UTC 2009


Author: lool
Date: Thu Jul  2 09:45:01 2009
New Revision: 20552

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=20552
Log:
Create tasks.pot during build: Add a common-build-arch:: snippet to call
langpack.mk's langpack-mk-update-pot target with
DEB_BUILDDIR=$(DEB_SRCDIR); intltool-update can't be called in builddir as
it needs POTFILES.in and even with it wont lookup files listed there in
srcdir; add a clean:: snippet to remove the pot file; LP: #188690.

Modified:
    packages/unstable/tasks/debian/changelog
    packages/unstable/tasks/debian/rules

Modified: packages/unstable/tasks/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/tasks/debian/changelog?rev=20552&op=diff
==============================================================================
--- packages/unstable/tasks/debian/changelog (original)
+++ packages/unstable/tasks/debian/changelog Thu Jul  2 09:45:01 2009
@@ -1,6 +1,11 @@
 tasks (0.15-2) UNRELEASED; urgency=low
 
   * Set LDFLAGS directly; bump cdbs bdep to >= 0.4.41.
+  * Create tasks.pot during build: Add a common-build-arch:: snippet to call
+    langpack.mk's langpack-mk-update-pot target with
+    DEB_BUILDDIR=$(DEB_SRCDIR); intltool-update can't be called in builddir as
+    it needs POTFILES.in and even with it wont lookup files listed there in
+    srcdir; add a clean:: snippet to remove the pot file; LP: #188690.
 
  -- Loïc Minier <lool at dooz.org>  Thu, 02 Jul 2009 11:40:22 +0200
 

Modified: packages/unstable/tasks/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/packages/unstable/tasks/debian/rules?rev=20552&op=diff
==============================================================================
--- packages/unstable/tasks/debian/rules (original)
+++ packages/unstable/tasks/debian/rules Thu Jul  2 09:45:01 2009
@@ -22,6 +22,15 @@
 # Hildon flavor flags
 DEB_CONFIGURE_HILDON_FLAGS += --enable-hildon
 
+common-build-arch::
+	# build a pot from srcidr with langpack.mk if available; intltool
+	# doesn't allow updates in builddir as it needs POTFILES.in and wont
+	# look up sources in srcdir if called from builddir; LP #188690
+	-$(MAKE) -f debian/rules langpack-mk-update-pot DEB_BUILDDIR=$(DEB_SRCDIR)
+
+clean::
+	rm -f po/tasks.pot
+
 configure/tasks-hildon:: $(DEB_BUILDDIR_tasks-hildon)/config.status
 $(DEB_BUILDDIR_tasks-hildon)/config.status:
 	cd $(DEB_BUILDDIR_tasks-hildon) && \




More information about the pkg-gnome-commits mailing list