Open
Description
Possibly not a big issue, but it seems the clean_install
option is not run when doing a system install.
I assume it should?
Example below uses Alien::libtiff given it can be installed as a system dep.
Tested using Ubuntu 20.04.6 LTS with the libtiff-dev
package installed.
ALIEN="Alien::libtiff"
ALIEN_DIR="Alien-libtiff"
eval "$(perl -I$HOME/foo/lib/perl5 -Mlocal::lib=$HOME/foo)"
ALIEN_INSTALL_TYPE=share perl Makefile.PL && make install
touch ~/foo/lib/perl5/x86_64-linux/auto/share/dist/${ALIEN_DIR}/unclean.txt
ls ~/foo/lib/perl5/x86_64-linux/auto/share/dist/${ALIEN_DIR}/unclean.txt
make clean
ALIEN_INSTALL_TYPE=share perl Makefile.PL && make install
ls ~/foo/lib/perl5/x86_64-linux/auto/share/dist/${ALIEN_DIR}/unclean.txt
# is gone
touch ~/foo/lib/perl5/x86_64-linux/auto/share/dist/${ALIEN_DIR}/unclean.txt
ls ~/foo/lib/perl5/x86_64-linux/auto/share/dist/${ALIEN_DIR}/unclean.txt
make clean
ALIEN_INSTALL_TYPE=system perl Makefile.PL && make install
ls ~/foo/lib/perl5/x86_64-linux/auto/share/dist/${ALIEN_DIR}/unclean.txt
# still there, as are the bin, lib etc dirs
Metadata
Metadata
Assignees
Labels
No labels