blob: 54302ef26c917c53dcbbe856c938e494c438efac [file] [log] [blame]
diff --git a/contrib/mw-to-git/Makefile b/contrib/mw-to-git/Makefile
index a4b6f7a..d83df2c 100644
--- a/contrib/mw-to-git/Makefile
+++ b/contrib/mw-to-git/Makefile
@@ -22,7 +22,7 @@ INSTALL = install
SCRIPT_PERL_FULL=$(patsubst %,$(HERE)/%,$(SCRIPT_PERL))
INSTLIBDIR=$(shell $(MAKE) -C $(GIT_ROOT_DIR)/perl \
- -s --no-print-directory instlibdir)
+ -s --no-print-directory instvendorlibdir)
DESTDIR_SQ = $(subst ','\'',$(DESTDIR))
INSTLIBDIR_SQ = $(subst ','\'',$(INSTLIBDIR))
diff --git a/perl/Makefile b/perl/Makefile
index 15d96fc..91348c6 100644
--- a/perl/Makefile
+++ b/perl/Makefile
@@ -12,7 +12,7 @@ ifndef V
QUIET = @
endif
-all install instlibdir: $(makfile)
+all install instlibdir instvendorlibdir: $(makfile)
$(QUIET)$(MAKE) -f $(makfile) $@
clean:
diff --git a/perl/Makefile.PL b/perl/Makefile.PL
index 3f29ba9..c0b3508 100644
--- a/perl/Makefile.PL
+++ b/perl/Makefile.PL
@@ -17,6 +17,8 @@ sub MY::postamble {
return <<'MAKE_FRAG';
instlibdir:
@echo '$(INSTALLSITELIB)'
+instvendorlibdir:
+ @echo '$(INSTALLVENDORLIB)'
ifneq (,$(DESTDIR))
ifeq (0,$(shell expr '$(MM_VERSION)' '>' 6.10))