The value of a Makefile variable is decided by whichever of these definitions comes first:
on command line
in Makefile
in environment
Alien::Build uses approach 3 to define DESTDIR, but upstream packages can break this if they define DESTDIR in the Makefile (if only to define it as empty). For example, the CFITSIO library maintainers recently changed the Makefile to define DESTDIR as empty, which broke Alien::Build's installation to blib, as instead it installed it directly to the final destination.
I'm not sure why upstream CFITSIO made this change, but to be safe, Alien::Build should specify DESTDIR on the command line.
Howdy,
The value of a Makefile variable is decided by whichever of these definitions comes first:
Alien::Build uses approach 3 to define DESTDIR, but upstream packages can break this if they define DESTDIR in the Makefile (if only to define it as empty). For example, the CFITSIO library maintainers recently changed the Makefile to define DESTDIR as empty, which broke Alien::Build's installation to blib, as instead it installed it directly to the final destination.
I'm not sure why upstream CFITSIO made this change, but to be safe, Alien::Build should specify DESTDIR on the command line.
Cheers, Diab