3 include /usr/share/cdbs/1/class/autotools.mk
4 include /usr/share/cdbs/1/rules/debhelper.mk
6 DEB_DH_STRIP_ARGS := --dbg-package=libembryo-dbg
7 DEB_CONFIGURE_EXTRA_FLAGS :=
8 DEB_CONFIGURE_SCRIPT := ./autogen.sh
9 DEB_MAKE_CLEAN_TARGET := distclean
10 #DEB_SOURCE_VERSION := $(shell grep AC_INIT $(DEB_SRCDIR)/configure.ac | cut -d, -f2 | tr -d ' []')
11 DEB_SOURCE_VERSION := 0.9.9.0
12 CFLAGS += -fvisibility=hidden
13 LDFLAGS += -fvisibility=hidden
16 cd $(DEB_SRCDIR)/doc && make doc
18 install/libembryo-doc::
19 tar jxf embryo-*-doc.tar.bz2 -C $(DEB_SRCDIR)
20 cp -R $(DEB_SRCDIR)/embryo-$(DEB_SOURCE_VERSION)-doc/doc/html debian/libembryo-doc/usr/share/doc/libembryo-doc/
21 rm -rf $(DEB_SRCDIR)/embryo-$(DEB_SOURCE_VERSION)-doc/
24 [ ! -f Makefile ] || make distclean
25 rm -f embryo-*.tar.* embryo-*.cdbs-config_list