summaryrefslogtreecommitdiff
path: root/perl/Makefile.PL
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2012-06-15 18:14:46 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-06-15 20:22:52 (GMT)
commitd22e567770866a0bbe746316561be50b521eb8a5 (patch)
tree302cdb1c6612b48781dbbf6a130b723b97a0b7ba /perl/Makefile.PL
parent2ae48a9bb87193de9e9da10abd9e7286c0e4c43d (diff)
downloadgit-d22e567770866a0bbe746316561be50b521eb8a5.zip
git-d22e567770866a0bbe746316561be50b521eb8a5.tar.gz
git-d22e567770866a0bbe746316561be50b521eb8a5.tar.bz2
perl/Makefile.PL: warn about duplicate module list in perl/Makefile
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>
Diffstat (limited to 'perl/Makefile.PL')
-rw-r--r--perl/Makefile.PL4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl/Makefile.PL b/perl/Makefile.PL
index 2c20290..b54b04a 100644
--- a/perl/Makefile.PL
+++ b/perl/Makefile.PL
@@ -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',