X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=doc%2FMakefile.am;h=0fd7237ab0bc24acbf3de7235c39f36757a75aac;hb=88e1ecf97bea280b442dc8240fbc0a5c5a608589;hp=3fc96a41645880ad271be227f8755216adceef55;hpb=ec028ffc51de6a4d33427ea505e2839b0516fd7d;p=rrdtool.git diff --git a/doc/Makefile.am b/doc/Makefile.am index 3fc96a4..0fd7237 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -6,10 +6,10 @@ SUFFIXES = .pod .1 .man .html .txt .pm .pdf .src .inc #ACLOCAL_M4 = $(top_srcdir)/config/aclocal.m4 -CLEANFILES = *.1 *.html *.txt *-dircache *.pm *.pdf *~ core *itemcache *.rej *.orig rrdgraph_*.pod +CLEANFILES = *.1 *.html *.txt *-dircache *.pm *.pdf *~ core *itemcache *.rej *.orig rrdgraph_*.pod *.tmp rrdgraph.pod SRC = rrdgraph.src rrdgraph_examples.src rrdgraph_rpn.src \ - rrdgraph_data.src rrdgraph_graph.src + rrdgraph_data.src rrdgraph_graph.src POD = rrdtool.pod rrdlast.pod rrdcreate.pod rrdupdate.pod rrdtutorial.es.pod \ cdeftutorial.pod rpntutorial.pod rrdgraph-old.pod bin_dec_hex.pod \ @@ -19,9 +19,9 @@ POD = rrdtool.pod rrdlast.pod rrdcreate.pod rrdupdate.pod rrdtutorial.es.pod \ PMP = RRDs.pm RRDp.pm -MAN = $(POD:.pod=.1) $(PMP:.pm=.1) +MAN = $(POD:.pod=.1) $(PMP:.pm=.1) TXT = $(MAN:.1=.txt) -HTML = $(POD:.pod=.html) $(PMP:.pm=.html) +HTML = $(POD:.pod=.html) $(PMP:.pm=.html) PDF = $(MAN:.1=.pdf) # what should go into the distribution @@ -32,13 +32,13 @@ idocdir = $(prefix)/doc idoc_DATA = $(POD) $(TXT) ihtmldir = $(prefix)/html ihtml_DATA = $(HTML) -imandir = $(prefix)/man/man1 +imandir = $(mandir)/man1 iman_DATA = $(MAN) all-local: link txt man html-local .src.pod: - perl -n -e 'if (/^=include\s+(\S+)/){open F,"$$1.inc" || die $$?;print ; close F} else {print}' $< > $@ + 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 $< > $@