This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: automake should allow preinst target
- To: Kevin Dalley <kevind@rahul.net>
- Subject: Re: automake should allow preinst target
- From: Tom Tromey <tromey@cygnus.com>
- Date: Sun, 20 Jun 1999 10:22:53 -0700
- Cc: automake@gnu.org, 22952-forwarded@bugs.debian.org, Yann Dirson <ydirson@a2points.com>
- References: <14178.48086.881931.219811@laminaria.seti.org>
>>>>> "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