Skip to content
This repository has been archived by the owner on Sep 3, 2019. It is now read-only.

Commit

Permalink
perl/Makefile.PL: warn about duplicate module list in perl/Makefile
Browse files Browse the repository at this point in the history
Adding or removing a module requires modifying both files to support
builds with and without MakeMaker.  Add a comment to remind patch
authors and reviewers at the crucial moment.

Longer term, it would be nicer to maintain a single list, perhaps in a
separate file used by both build systems.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
jrn authored and gitster committed Jun 15, 2012
1 parent 2ae48a9 commit d22e567
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions perl/Makefile.PL
Expand Up @@ -24,6 +24,10 @@ endif
MAKE_FRAG
}

# XXX. When editing this list:
#
# * Please update perl/Makefile, too.
# * Don't forget to test with NO_PERL_MAKEMAKER=YesPlease
my %pm = (
'Git.pm' => '$(INST_LIBDIR)/Git.pm',
'Git/I18N.pm' => '$(INST_LIBDIR)/Git/I18N.pm',
Expand Down

0 comments on commit d22e567

Please sign in to comment.