From: Tobias Brunner Date: Fri, 4 Dec 2015 10:21:19 +0000 (+0100) Subject: vici: Fix clean-local target for Perl bindings if they were not built X-Git-Tag: 5.4.0dr1~21 X-Git-Url: https://git.strongswan.org/?p=strongswan.git;a=commitdiff_plain;h=63a778a25d1e628035d73fe86235ba4157932c1f vici: Fix clean-local target for Perl bindings if they were not built This is called when running `make distclean` (or indirectly via `make distcheck`). --- diff --git a/src/libcharon/plugins/vici/perl/Makefile.am b/src/libcharon/plugins/vici/perl/Makefile.am index 1c2d86e..9bc6262 100644 --- a/src/libcharon/plugins/vici/perl/Makefile.am +++ b/src/libcharon/plugins/vici/perl/Makefile.am @@ -18,7 +18,7 @@ Vici-Session/pm_to_blib: $(EXTRA_DIST) $(srcdir)/Vici-Session/Makefile (cd $(srcdir)/Vici-Session; make) clean-local: - (cd $(srcdir)/Vici-Session; make clean) + (cd $(srcdir)/Vici-Session; [ ! -f Makefile ] || make clean) if PERL_CPAN_INSTALL install-exec-local: Vici-Session/pm_to_blib