- Package:
- automake
- Source:
- automake-1.16
- Submitter:
- Yann Dirson
- Date:
- 2015-01-25 20:21:10 UTC
- Severity:
- wishlist
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
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
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
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.)