Manually editing debianrules file needed for simple build process?

Robie Basak robie.basak at ubuntu.com
Tue Jul 1 11:15:59 UTC 2014


On Mon, Jun 30, 2014 at 10:43:47PM +0200, Thomas Pryds wrote:
> 2014-06-29 21:04 GMT+02:00 Robie Basak <robie.basak at ubuntu.com>:
> > Off the top of my head, you probably want something like:
> 
> Thank you! The clean target still complains about makefile.my not
> existing, but I can handle that, I think the reason is clear.

Maybe:

[ -f src/makefile.my ] && make -C src -f makefile.my clean
rm -f src/makefile.my

Then neither line should complain if it didn't exist.

> Temporarily letting clean do nothing, the process now finishes with
> success, and a deb file is created! I did have the feeling that what I
> was doing was overkill :-)
> 
> >> 5. sudo cp -f binaryfile /usr/local/bin/
> >
> > In debian/install, put the single line:
> >         src/binaryfile usr/local/bin/
> 
> The binary doesn't seem to get included in the resulting deb file. Do
> I need to mention the debian/install file somewhere? (it didn't exist,
> so I created it)

If you have multiple binary packages, then you need
debian/<binarypackagename>.install instead. Try that anyway?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-motu/attachments/20140701/23844f6e/attachment.pgp>


More information about the Ubuntu-motu mailing list