let 'out-of tree' builds work for everythin but the perl module -- Peter Breitenlohner
[rrdtool.git] / doc / Makefile.am
index dc432ac..a4de36c 100644 (file)
@@ -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