Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2012 13:06:30 +0100 (BST)
From:      Anton Shterenlikht <mexas@bristol.ac.uk>
To:        freebsd-ports@freebsd.org
Subject:   do I need to specify explicity what to install for make install to work?
Message-ID:  <201209261206.q8QC6Umb072888@mech-cluster241.men.bris.ac.uk>

next in thread | raw e-mail | index | archive | help
I was updating my port until I got to

make: don't know how to make install. Stop
*** [do-install] Error code 2

and I realised that I don't really understand
the sequence of commands involved in "make install".
I've looked through the porter's handbook,
but still not clear.

I see lots of post-install targets in
Makefiles, but never just "install".
I presume it should be pulled into by
.include <bsd.port.mk>

Still, if I have a set of source files,
generated object files, and just one
executable I want to install, I probably
have to specify somewhere in the Makefile
the name of this executable, right?

Or are PLIST_FILES and PLIST_DIRS used
to let make know what to install?

Thanks

Anton



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209261206.q8QC6Umb072888>