Merge branch 'collectd-4.2'
[collectd.git] / bindings / Makefile.am
1 EXTRA_DIST = perl/Collectd.pm perl/Makefile.PL perl/Collectd/Makefile.PL \
2                 perl/Collectd/Unixsock.pm
3
4 all-local: @PERL_BINDINGS@
5
6 install-exec-local:
7         [ ! -f perl/Makefile ] || $(MAKE) -C perl install
8
9 clean-local:
10         [ ! -f perl/Makefile ] || $(MAKE) -C perl realclean
11
12 perl: perl/Makefile
13         $(MAKE) -C perl
14
15 perl/Makefile: perl/Makefile.PL perl/Collectd/Makefile.PL \
16                 $(top_builddir)/config.status
17         cd perl && @PERL@ Makefile.PL PREFIX=$(prefix) @PERL_BINDINGS_OPTIONS@
18
19 .PHONY: perl
20