From e385a83f5e8122450ae854d00f1e3b7d6b3eaf6f Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Fri, 28 Feb 2025 11:55:46 +0100 Subject: [PATCH] vici: Fix out-of-tree builds with Perl module enabled Not really building it out-of-tree for now, though. --- src/libcharon/plugins/vici/perl/Makefile.am | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/libcharon/plugins/vici/perl/Makefile.am b/src/libcharon/plugins/vici/perl/Makefile.am index 9bc6262ac6..a735cf2a56 100644 --- a/src/libcharon/plugins/vici/perl/Makefile.am +++ b/src/libcharon/plugins/vici/perl/Makefile.am @@ -11,17 +11,16 @@ EXTRA_DIST = \ all-local: Vici-Session/pm_to_blib -Vici-Session/Makefile: $(srcdir)/Vici-Session/Makefile.PL +$(srcdir)/Vici-Session/Makefile: $(srcdir)/Vici-Session/Makefile.PL (cd $(srcdir)/Vici-Session; $(PERL) Makefile.PL) -Vici-Session/pm_to_blib: $(EXTRA_DIST) $(srcdir)/Vici-Session/Makefile +$(srcdir)/Vici-Session/pm_to_blib: $(EXTRA_DIST) $(srcdir)/Vici-Session/Makefile (cd $(srcdir)/Vici-Session; make) clean-local: (cd $(srcdir)/Vici-Session; [ ! -f Makefile ] || make clean) if PERL_CPAN_INSTALL -install-exec-local: Vici-Session/pm_to_blib +install-exec-local: $(srcdir)/Vici-Session/pm_to_blib (cd $(srcdir)/Vici-Session; make install) endif -