forked from enlightenment/efl
parent
4ce0cbc6ea
commit
84f47cea82
|
@ -6,17 +6,16 @@ include /usr/share/cdbs/1/rules/debhelper.mk
|
||||||
DEB_DH_STRIP_ARGS := --dbg-package=libembryo-dbg
|
DEB_DH_STRIP_ARGS := --dbg-package=libembryo-dbg
|
||||||
DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath
|
DEB_CONFIGURE_EXTRA_FLAGS := --disable-rpath
|
||||||
DEB_MAKE_CLEAN_TARGET := clean
|
DEB_MAKE_CLEAN_TARGET := clean
|
||||||
|
DEB_SOURCE_VERSION := $(shell grep AC_INIT $(DEB_SRCDIR)/configure.ac|sed -e 's/AC_INIT(\[embryo\],\ \[\(.*\)\],\ \[.*@.*\])/\1/g')
|
||||||
|
CFLAGS += -fvisibility=hidden
|
||||||
|
|
||||||
build/libembryo-doc::
|
build/libembryo-doc::
|
||||||
cd $(DEB_SRCDIR) && doxygen
|
cd $(DEB_SRCDIR)/doc && make
|
||||||
|
|
||||||
install/libembryo-doc::
|
install/libembryo-doc::
|
||||||
cp -R $(DEB_SRCDIR)/doc/html debian/libembryo-doc/usr/share/doc/libembryo-doc/
|
tar jxf embryo-*-doc.tar.bz2 -C $(DEB_SRCDIR)
|
||||||
rm $(DEB_SRCDIR)/doc/man/man3/todo.3
|
cp -R $(DEB_SRCDIR)/embryo-$(DEB_SOURCE_VERSION)-doc/doc/html debian/libembryo-doc/usr/share/doc/libembryo-doc/
|
||||||
|
rm -rf $(DEB_SRCDIR)/embryo-$(DEB_SOURCE_VERSION)-doc/
|
||||||
|
|
||||||
clean::
|
clean::
|
||||||
rm -rf $(DEB_SRCDIR)/doc/html $(DEB_SRCDIR)/doc/latex $(DEB_SRCDIR)/doc/man
|
|
||||||
mkdir -p $(DEB_SRCDIR)/doc/html
|
|
||||||
cp $(DEB_SRCDIR)/doc/img/*.png $(DEB_SRCDIR)/doc/html/
|
|
||||||
cp $(DEB_SRCDIR)/doc/img/*.gif $(DEB_SRCDIR)/doc/html/
|
|
||||||
./autogen.sh --prefix=/usr $(DEB_CONFIGURE_EXTRA_FLAGS)
|
./autogen.sh --prefix=/usr $(DEB_CONFIGURE_EXTRA_FLAGS)
|
||||||
|
|
Loading…
Reference in New Issue