Subject: | DESTDIR duplicated when PREFIX set. Also DESTDIR in perllocal.pod and .packlist. |
DESTDIR is being added twice when a PREFIX is given. But there is a deeper problem.
The GNU make docs suggest that the destdir should not show up in any installed files. Due to the
simplistic way I'm introducing DESTDIR as part of the prefixes, DESTDIR shows up in both
perllocal.pod and the .packlists.
I think I'm doing to have to make only the pure_*_install and doc_*_install targets aware of
DESTDIR so they do not include them in perllocal.pod or .packlist.
This was found as Redhat bug #91892
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=91892