Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [paho-dev] New Makefile for building C client

Hi Ian,

This hardly seems worth a new bug being filed - when you are
installing in the install target, please prefix all destinations with
$DESTDIR like so:


The lack of a / separator is deliberate.

DESTDIR is undefined normally, so everything should install to
/usr/local/... as you'd expect. Setting DESTDIR allows the files to be
installed to the correct location within a tree, but not within the
actual OS files. Doing this makes packaging much much more
straightforward. See e.g.



On Wed, Oct 30, 2013 at 2:18 PM, Ian Craggs
<icraggs@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
> I've created a new Makefile for building the C client, in the root directory
> of the C project on Linux.  I've attempted to conform to as many standards
> as I could find, like:
> It adds library versioning, targets for install/uninstall, clean and doc.
> I intend to do the same for MacOS.  For Windows, I'm planning a Visual
> Studio project and Ant for automated builds.
> I think that will cover the major platforms of interest for now.
> Ian
> _______________________________________________
> paho-dev mailing list
> paho-dev@xxxxxxxxxxx

Back to the top