Re: Example for use of dh_strip --dbg-package=... and CDBS?
fltk1.1 does this. Here's its rules file:
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/buildcore.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk
# The original definition also includes -fno-exceptions, which we
# might as well punt so that throwing exceptions from callbacks
# actually works. We also punt -Wall, which CDBS puts in CFLAGS.
FLTK_OPTIM="$(CFLAGS) -Wunused -Wconversion -fPIC -D_REENTRANT"
DEB_CONFIGURE_EXTRA_FLAGS = --enable-shared --enable-threads --enable-xft --without-links
DEB_CONFIGURE_SCRIPT_ENV =
DEB_MAKE_INVOKE = make OPTIM=$(FLTK_OPTIM)
DEB_MAKE_CHECK_TARGET =
DEB_INSTALL_CHANGELOGS_ALL = CHANGES
DEB_INSTALL_DOCS_ALL = CREDITS README
DEB_DH_MAKESHLIBS_ARGS = -V
DEB_DH_SHLIBDEPS_ARGS = -l debian/libfltk1.1c102/usr/lib -Lfltk1.1c102
DEB_DH_STRIP_ARGS = --dbg-package=libfltk1.1c102
clean::
rm -rf autom4te.cache
build/fltk1.1-doc::
cd documentation && make fltk.ps && make fltk.pdf
binary-predeb/fluid:: binary-fixup/libfltk1.1c102
[Likewise for ncbi-tools6, but its rules file is much hairier.]
--
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
Finger amu@monk.mit.edu (NOT a valid e-mail address) for more info.
Reply to: