#22952 automake: should allow preinst target

#22952#5
Date:
1998-05-28 20:10:25 UTC
From:
To:
The only install hooks that automake provides (eg. install-data-local)
are postinst hooks.  Though the GNU coding standards documents a
preinst behaviour, automake does not allow to use this.

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

install-data: pre-install-data-local install-pkgdataDATA install-data-local

#22952#8
Date:
1999-06-12 20:00:53 UTC
From:
To:
A Debian user of automake has made the following suggestion for
automake.

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

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

install-data: pre-install-data-local install-pkgdataDATA install-data-local

Kevin Dalley
kevind@rahul.net

#22952#9
Date:
1999-06-20 17:22:53 UTC
From:
To:
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

#22952#10
Date:
1999-11-08 01:13:21 UTC
From:
To:
A Debian user of automake has made the following suggestion for
automake.

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

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

install-data: pre-install-data-local install-pkgdataDATA install-data-local


(Of course that target won't work due to parallel builds.
The idea is ok, though.)