[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: trouble with packaging



Your change worked! : ) Thanks very much.

So if I understand this correctly... I need to edit debian/rules so that the build section works as if I told make install to install to debian/program_name, using DESTDIR?



Brendan Martens
Server Administrator
CrossComm, Inc.
919.667.9432 ofc
919.688.7686 fax
blog.crosscomm.net/brendan

On Jun 2, 2009, at 12:47 PM, Daniel Moerner wrote:

On Tue, Jun 2, 2009 at 8:21 AM, Brendan Martens <shrift@gmail.com> wrote:
Sorry your getting this twice Daniel, realized I didn't reply to list.
Thanks for the reply. This is what my debian/rules file looks
like: http://pastebin.com/f135b3d42

Is it normal to have to manually edit the rules file to make it run make
install? The tweaks I tried on debian/rules was to uncomment the dh_install
line, but it didn't seem to have any effect.

dh_install just installs files in debian/install || debian/package.install

      $(MAKE) prefix=$(CURDIR)/debian/monit/usr install

This looks wrong to me, normally if you set prefix when you call ./configure you just want to set DESTDIR when invoking make install:

$(MAKE) install DESTDIR=$(CURDIR)/debian/monit

Daniel

--
Daniel Moerner <dmoerner@gmail.com>



Reply to: