[Build-common-hackers] cdbs-based package installing to debian/tmp

Marc Haber mh+build-common-hackers at zugschlus.de
Wed Aug 16 21:30:02 UTC 2006


since I have added a -dbg package to rageircd, I end up with binary
packages. Looks like the build process installs from debian/rageircd
and debian/rageircd-dbg, while make install still installs to
debian/tmp. Where do I configure this?

here is my debian/rules file:
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/dpatch.mk

# Set IOENGINE to rtsigio
# If you experience delays and low performance, change this to epoll,
# which needs a 2.6 kernel. Please see NEWS.Debian for an explanation.

DEB_CONFIGURE_USER_FLAGS = --with-logdir=/var/log/rageircd \
  --with-moddir=/usr/lib/rageircd/modules --with-bindir=/usr/bin \
  --with-docdir=/usr/share/doc/rageircd --with-engine=$(IOENGINE) \
  --with-statedir=/var/run/rageircd --with-confdir=/etc/rageircd

# this is temporarily needed because of a cdbs issue
unpatch: deapply-dpatches

        /usr/bin/pod2man --section=1 --release="rageircd ($PKG_VER)" --lax \
        --center="Debian GNU/Linux" debian/rageircd.pod > debian/rageircd.1
        /usr/bin/pod2man --section=1 --release="rageircd ($PKG_VER)" --lax \
        --center="Debian GNU/Linux" debian/rageircd_mkpasswd.pod > debian/rageircd_mkpasswd.1
        mkdir -p $(DEB_DESTDIR)/usr/share/man/man1
        install debian/rageircd.1 debian/rageircd_mkpasswd.1 $(DEB_DESTDIR)/usr/share/man/man1
        rm -f $(DEB_DESTDIR)/usr/share/doc/rageircd/INSTALL $(DEB_DESTDIR)/usr/share/doc/rageircd/LICENSE
        mv $(DEB_DESTDIR)/usr/bin/ragemkpasswd $(DEB_DESTDIR)/usr/bin/rageircd_mkpasswd

        rm -f debian/rageircd.1 debian/rageircd_mkpasswd.1


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835

More information about the Build-common-hackers mailing list