Re: dpkg-buildpackage problem
Well, you could hack the Makefile.am or Makefile.in to install the conf files to ${DESTDIR}/${datadir} , or you could possibly try the following:
./configure (stuff) --datadir='${DESTDIR}/etc/X11'
Although, if the app itself uses the value of datadir (which is BAD, imo) this approach wouldn't be the best.
Levi
On Thu, 10 Oct 2002 16:39:18 -0600
Jay Graves <jay@skabber.com> wrote:
> > It's possible that the Makefile doesn't support DESTDIR, or that you're
> > not using it right.
> > debian/rules should have something like this:
> > make install DESTDIR=$(CURDIR)/debian/tmp
>
> well my debian rules looks like this
> ./configure (lots of stuff here) --datadir=/etc/X11
>
> and the install block has this line
> $(MAKE) install prefix=$(CURDIR)/deban/packageName/usr
>
> everything installs into debian/packageName fine if I don't specify
> the --datadir in the configure, but once I do it tries to install files
> to /etc/X11
>
> I tried also adding the your DESTDIR, but that didn't seem to produce
> any results.
>
> Thanks
> --
>
> Jay Graves
> jay@skabber.com
> jay.skabber.com
>
> O__
> _/`.\
> `=( '
>
>
--
Levi Bard
levi@bard.sytes.net
Reply to: