This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: automake should allow preinst target


>>>>> "Kevin" == Kevin Dalley <kevind@rahul.net> writes:

Kevin> The only install hooks that automake provides
Kevin> (eg. install-data-local) are postinst hooks.  Though the GNU
Kevin> coding standards documents a preinst behaviour, automake does
Kevin> not allow to use this.

I don't think this is completely correct.  You can do the full
installation in install-data-local and use the pre/post/normal macros
there per the GNU standards.

I agree that pre-hooks would be useful in a number of situations,
though, so this will go on the to-do list.

Kevin> There should be something like `pre-install-data-local', and
Kevin> the install targets should be expanded like:

Kevin> install-data: pre-install-data-local install-pkgdataDATA install-data-local

FYI this implementation won't work with parallel makes.

T


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]