1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/gnome.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk
include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.mk
DEB_CONFIGURE_EXTRA_FLAGS += --enable-gtk-doc \
--enable-vala \
--enable-python \
--disable-gjs
ifeq (,$(filter $(DEB_HOST_ARCH),ia64 mips))
DEB_CONFIGURE_EXTRA_FLAGS += --enable-seed
endif
# We clean the test directory before running check because we need to stop
# -Bsymbolic-functions from being used when building the tests. Else
# the extension-c test fails. And we want to avoid the gtk-requiring tests.
DEB_MAKE_CHECK_TARGET = -C tests/libpeas clean all check LDFLAGS=""
DEB_DH_MAKESHLIBS_ARGS_libpeas-1.0-0 += -X/usr/lib/libpeas-1.0/
binary-post-install/libpeas-doc::
# remove compiled python and libtool .la files
find debian/$(cdbs_curpkg) -name '*.pyo' -delete
find debian/$(cdbs_curpkg) -name '*.pyc' -delete
find debian/$(cdbs_curpkg) -name '*.la' -delete
|