X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=bindings%2FMakefile.am;h=ffdf4a2c51d9e9cd2fb3d529b315a4f64a163c5e;hb=83e524e933e6b5f3175e57d460cd2e19b4350864;hp=facb91581bad21e1960df623c301a08da5897483;hpb=84aa7ec53165be023cfed654463804a77a986c2a;p=rrdtool.git diff --git a/bindings/Makefile.am b/bindings/Makefile.am index facb915..ffdf4a2 100644 --- a/bindings/Makefile.am +++ b/bindings/Makefile.am @@ -1,12 +1,12 @@ SUBDIRS = tcl # the following files are not mentioned in any other Makefile -EXTRA_DIST = $(shell for A in $(srcdir)/perl-*; do cat $$A/MANIFEST | sed -e s,^,$$A/, ; done) +EXTRA_DIST = $(shell for A in perl-*; do cat $$A/MANIFEST | sed -e s,^,$$A/, ; done) # lets schedule the perl stuff for installation # the special call to install-sh is because the -d switch is not portable install-data-local: - ../config/mkinstalldirs $(DESTDIR)$(prefix)/lib/perl/auto/RRDs + $(mkinstalldirs) $(DESTDIR)$(prefix)/lib/perl/auto/RRDs $(INSTALL) -m 644 perl-piped/RRDp.pm $(DESTDIR)$(prefix)/lib/perl $(INSTALL) -m 644 perl-shared/RRDs.pm $(DESTDIR)$(prefix)/lib/perl $(INSTALL) -m 644 perl-shared/blib/arch/auto/RRDs/RRDs.bs $(DESTDIR)$(prefix)/lib/perl/auto/RRDs @@ -23,7 +23,7 @@ perl-piped/Makefile: perl-piped/Makefile.PL cd perl-piped && $(PERL) Makefile.PL $(PERL_MAKE_OPTIONS) perl_shared: perl-shared/Makefile - cd perl-shared && $(MAKE) + cd perl-shared && $(MAKE) RPATH=$(prefix)/lib perl-shared/Makefile: perl-shared/Makefile.PL cd perl-shared && $(PERL) Makefile.PL $(PERLFLAGS) $(PERL_MAKE_OPTIONS)