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