Commit 6a335d11 authored by Michael Biebl's avatar Michael Biebl

Use a stamp file to avoid running gen-guch-unicode-tables.pl twice.

parent f8a514fe
......@@ -7,6 +7,9 @@ gucharmap (1:3.4.1.1-2) UNRELEASED; urgency=low
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@debian.org> Sun, 17 Jun 2012 16:27:20 +0200
gucharmap (1:3.4.1.1-1) unstable; urgency=low
......
......@@ -11,13 +11,18 @@ include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment