r35337 - in /desktop/unstable/gucharmap/debian: changelog rules
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Sun Jun 17 14:30:54 UTC 2012
Author: biebl
Date: Sun Jun 17 14:30:53 2012
New Revision: 35337
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=35337
Log:
Use a stamp file to avoid running gen-guch-unicode-tables.pl twice.
Modified:
desktop/unstable/gucharmap/debian/changelog
desktop/unstable/gucharmap/debian/rules
Modified: desktop/unstable/gucharmap/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gucharmap/debian/changelog?rev=35337&op=diff
==============================================================================
--- desktop/unstable/gucharmap/debian/changelog [utf-8] (original)
+++ desktop/unstable/gucharmap/debian/changelog [utf-8] Sun Jun 17 14:30:53 2012
@@ -6,6 +6,9 @@
* debian/rules, debian/clean, debian/control: build-depend on unicode-data
and generate our unicode header files at package build time, to ensure
that we actually can. Closes: #603405.
+
+ [ Michael Biebl ]
+ * Use a stamp file to avoid running gen-guch-unicode-tables.pl twice.
-- Michael Biebl <biebl at debian.org> Sun, 17 Jun 2012 16:27:20 +0200
Modified: desktop/unstable/gucharmap/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/gucharmap/debian/rules?rev=35337&op=diff
==============================================================================
--- desktop/unstable/gucharmap/debian/rules [utf-8] (original)
+++ desktop/unstable/gucharmap/debian/rules [utf-8] Sun Jun 17 14:30:53 2012
@@ -11,13 +11,18 @@
DEB_CONFIGURE_EXTRA_FLAGS += --disable-scrollkeeper \
--enable-gtk-doc \
--enable-introspection
-UNICODE_DATA_VERSION=$(shell dpkg-query -W -f'$${Version}' unicode-data | sed -e's/-.*//')
+UNICODE_DATA_VERSION := $(shell dpkg-query -W -f'$${Version}' unicode-data | sed -e's/-.*//')
-configure/libgucharmap-2-90-dev::
+post-patches:: debian/stamp-gen-unicode-tables
+
+debian/stamp-gen-unicode-tables:
cd gucharmap && ./gen-guch-unicode-tables.pl $(UNICODE_DATA_VERSION) /usr/share/unicode
+ touch debian/stamp-gen-unicode-tables
clean::
rm -f intltool-extract intltool-merge intltool-update
rm -f po/.intltool-merge-cache
+ rm -f gucharmap/unicode-*.h
+ rm -f debian/stamp-gen-unicode-tables
LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
More information about the pkg-gnome-commits
mailing list