summaryrefslogtreecommitdiff
path: root/src/libcharon/plugins/vici/perl/Makefile.am
blob: 9bc6262ac60202bee01f405512ba338f028eea88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
EXTRA_DIST = \
	Vici-Session/Changes \
	Vici-Session/Makefile.PL \
	Vici-Session/MANIFEST \
	Vici-Session/README.pod \
	Vici-Session/t/Vici-Session.t \
	Vici-Session/lib/Vici/Message.pm \
	Vici-Session/lib/Vici/Packet.pm \
	Vici-Session/lib/Vici/Session.pm \
	Vici-Session/lib/Vici/Transport.pm

all-local: Vici-Session/pm_to_blib

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
	(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
	(cd $(srcdir)/Vici-Session; make install)
endif