X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2FMakefile.am;h=2273ab6b639ea2af735766e292ed6755855dec35;hb=e1597899f28b7fed13a029c84d9b36bbe5f16505;hp=83b3753b9b4e94d0b4232a212334644ff504d9b3;hpb=c44fb9ef30bd171074c3221a8f3f55179c6c59d3;p=rrdtool.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 83b3753..2273ab6 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -10,10 +10,10 @@ CLEANFILES = *.1 *.html *.txt *-dircache RRD?.pod *.pdf *~ core *itemcache *.rej POD = bin_dec_hex.pod rrddump.pod rrdgraph_examples.pod rrdrestore.pod rrdupdate.pod \ cdeftutorial.pod rrdfetch.pod rrdgraph_graph.pod rrdthreads.pod rrdxport.pod \ - rpntutorial.pod rrdfirst.pod rrdgraph_rpn.pod rrdtool.pod \ - rrd-beginners.pod rrdinfo.pod rrdtune.pod rrdbuild.pod \ - rrdcgi.pod rrdgraph.pod rrdlast.pod \ - rrdcreate.pod rrdgraph_data.pod rrdresize.pod rrdtutorial.pod + rpntutorial.pod rrdfirst.pod rrdgraph_rpn.pod rrdtool.pod rrdcached.pod \ + rrd-beginners.pod rrdinfo.pod rrdtune.pod rrdbuild.pod rrdflush.pod \ + rrdcgi.pod rrdgraph.pod rrdlast.pod rrdlastupdate.pod \ + rrdcreate.pod rrdgraph_data.pod rrdresize.pod rrdtutorial.pod rrdlua.pod PMP = RRDs.pod RRDp.pod @@ -39,7 +39,7 @@ all-local: link txt man html-local perl -n -e 'if (/^=include\s+(\S+)/){open F,"$$1.inc" || die $$?;print ; close F} else {print}' $< > $@ .pod.1 .pm.1 .pl.1: - pod2man --release=$(VERSION) --center=rrdtool $< > $@ + @POD2MAN@ --release=$(VERSION) --center=rrdtool $< > $@ .1.txt: GROFF_NO_SGR=1 @NROFF@ -man -Tlp $< > $@ @@ -48,13 +48,13 @@ all-local: link txt man html-local @TROFF@ -man $< | ps2pdf - $@ .pm.html .pod.html .pl.html: - pod2html --infile=$< --outfile=$@ --noindex --htmlroot=. --podpath=. --title=$* + @POD2HTML@ --infile=$< --outfile=$@ --noindex --htmlroot=. --podpath=. --title=$* RRDs.pod: - ln -s $(top_srcdir)/bindings/perl-shared/RRDs.pm RRDs.pod + $(LN_S) $(top_srcdir)/bindings/perl-shared/RRDs.pm RRDs.pod RRDp.pod: - ln -s $(top_srcdir)/bindings/perl-piped/RRDp.pm RRDp.pod + $(LN_S) $(top_srcdir)/bindings/perl-piped/RRDp.pm RRDp.pod link: RRDp.pod RRDs.pod @@ -68,4 +68,5 @@ pdf-local: $(PDF) pod: $(POD) - +install-data-hook: + cd $(DESTDIR)$(ihtmldir) && rm -f index.html && $(LN_S) rrdtool.html index.html