vici: Fix out-of-tree builds with Perl module enabled

Not really building it out-of-tree for now, though.
This commit is contained in:
Tobias Brunner 2025-02-28 11:55:46 +01:00
parent fad99c7a88
commit e385a83f5e

View 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