perl/Makefile: move "mkdir -p" to module installation loop for maintainability
authorJonathan Nieder <jrnieder@gmail.com>
Fri, 15 Jun 2012 23:02:34 +0000 (18:02 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Jun 2012 23:11:15 +0000 (16:11 -0700)
commit73abda3b2ad0a2053f29a6f0d624ede89531c437
treeff0588092517d5aeb13b4e947ce8a43a0986c7ca
parent7dba3f73e9571963fa03549956879d15ca7ad2d3
perl/Makefile: move "mkdir -p" to module installation loop for maintainability

In the NO_PERL_MAKEMAKER=YesPlease fallback case, make the directory
that will contain each module when installing it (simulating "install
-D") instead of hardcoding "Git/SVN/Memoize is the deepest level".
This should make this codepath which is not used often on development
machines a little easier to maintain.

Requested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
perl/Makefile