Right, thanks - I hadn't realised that rules is a makefile with '#!/bin/make -f' at the top to tell the shell to run it with make - clever!
To get it to build a debian package I had to do 'sudo debian/rules binary'. Not sure why I had to be root, but it complained when I wasn't. Thank you for the pointer. Graham. On 26 June 2011 15:17, John Smith <[email protected]> wrote: > On 27 June 2011 00:08, Graham Jones <[email protected]> wrote: > > Sorry for asking a dumb question, but how do you use the osm2pgsql source > to > > build a debian package? I see a deban/rules file...but don't know what > to > > do with it - there doesn't seem to be a 'make deb' option or equivalent > in > > the makefile? > > a simple way is to run ./debian/rules binary > -- Graham Jones Hartlepool, UK.
_______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

