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 -fPIC
13 LDFLAGS += -fvisibility=hidden -Wl,--hash-style=both -Wl,--as-needed
15 #build/libembryo-doc::
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)/doc/html $(DEB_SRCDIR)/debian/libembryo-doc/usr/share/doc/libembryo-doc/
21 # cp -R $(DEB_SRCDIR)/embryo-$(DEB_SOURCE_VERSION)-doc/doc/html debian/libembryo-doc/usr/share/doc/libembryo-doc/
22 # rm -rf $(DEB_SRCDIR)/doc/
25 [ ! -f Makefile ] || make distclean
26 rm -f embryo-*.tar.* embryo-*.cdbs-config_list