]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
vici: Fix out-of-tree builds with Perl module enabled
authorTobias Brunner <tobias@strongswan.org>
Fri, 28 Feb 2025 10:55:46 +0000 (11:55 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 28 Feb 2025 13:21:49 +0000 (14:21 +0100)
Not really building it out-of-tree for now, though.

src/libcharon/plugins/vici/perl/Makefile.am

index 9bc6262ac60202bee01f405512ba338f028eea88..a735cf2a566b21c6f254cd09614eacc8b7b5a88a 100644 (file)
@@ -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
-