Hi,
On Dec 15, 2014, at 0:15, Barry Kauler <[email protected]> wrote:
>
> Hi,
> I have created package/archiver/dpkg-deb, which is the same as 'dpkg'
> except I only want to install the 'dpkg-deb' utility.
>
> I want to run configure and make as normal, but want to replace 'make
> install' with my own code, which will just install the 'dpkg-deb'
> utility.
>
> Reading the T2 Handbook, I can see how to use hooks, and have done so,
> with success, however I cannot see how to completely disable the 'make
> install' step and replace with my own code.
>
> Note, I have previously used 'custmain', that works fine, except it is
> for the entire build process.
>
> The solution is probably quite simple! Can anyone advise me?
To not run make install, simply clear the makeinstopt:
makeinstopt=“”
If you do not want the rest of the dpkg package in your build at all, I would
not create a copy of the package, but simply do the modification to the dpkg
package in your target configuration in:
target/…/pkg_dpkg_post.conf
René
PS: the plan is to remove the old custmain entirely anyways - everything can be
disabled with variables like above, and the rest more elegantly with the newer
hooks.
--
ExactCODE GmbH, Lietzenburger Str. 42, DE-10789 Berlin
http://exactcode.com | http://exactscan.com | http://ocrkit.com |
http://t2-project.org | http://rene.rebe.de
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2