From: oetiker Date: Sat, 11 Jun 2005 05:40:04 +0000 (+0000) Subject: let 'out-of tree' builds work for everythin but the perl module -- Peter Breitenlohner X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=63893e92a08ae742606cdd744d4695053287a4ae;p=rrdtool-all.git let 'out-of tree' builds work for everythin but the perl module -- Peter Breitenlohner git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@628 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/bindings/python/Makefile.am b/program/bindings/python/Makefile.am index ca6f762b..6510f1e5 100644 --- a/program/bindings/python/Makefile.am +++ b/program/bindings/python/Makefile.am @@ -1,4 +1,4 @@ -AM_CPPFLAGS = @CFLAGS@ -I../../src @PYTHON_INCLUDES@ +AM_CPPFLAGS = @CFLAGS@ -I$(top_srcdir)/src @PYTHON_INCLUDES@ #pythondir = $(pyexecdir)/python@PYTHON_VERSION@/site-packages @@ -6,8 +6,8 @@ if BUILD_PYTHON python_PROGRAMS = rrdtoolmodule.so -rrdtoolmodule_so_LDFLAGS = -module -shared -L../../src -rrdtoolmodule_so_LDADD = -lrrd +rrdtoolmodule_so_LDFLAGS = -module -shared +rrdtoolmodule_so_LDADD = $(top_builddir)/src/librrd.la rrdtoolmodule_so_SOURCES = rrdtoolmodule.c noinst_HEADERS = rrd_extra.h diff --git a/program/doc/Makefile.am b/program/doc/Makefile.am index dc432ac6..a4de36cd 100644 --- a/program/doc/Makefile.am +++ b/program/doc/Makefile.am @@ -53,10 +53,10 @@ all-local: link txt man html-local pod2html --infile=$< --outfile=$@ --noindex --htmlroot=. --podpath=. --title=$* RRDs.pod: - ln -s ../bindings/perl-shared/RRDs.pm RRDs.pod + ln -s $(top_srcdir)/bindings/perl-shared/RRDs.pm RRDs.pod RRDp.pod: - ln -s ../bindings/perl-piped/RRDp.pm RRDp.pod + ln -s $(top_srcdir)/bindings/perl-piped/RRDp.pm RRDp.pod index.html: rm -f index.html; ln -s rrdtool.html index.html