Is it possible to setup automake to install a file under a different name? For instance, let’s say I have a LICENSE file in my package, which I want to be installed under /usr/share/licenses/mypackage. Is it possible to extend the code below, so that the LICENSE file is installed as “mypackage”?
licensedir = $(datadir)/licenses
license_DATA = LICENSE
I’ve been googling on this for quite some time now, but didn’t find anything useful.
A possible solution is to add an install hook: