From: oetiker Date: Tue, 18 May 2004 18:25:45 +0000 (+0000) Subject: better cleaning -- Mike Slifcak X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a677a0a1b51ac1802ebc9230187e5a883c649ecc;p=rrdtool-all.git better cleaning -- Mike Slifcak git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@249 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/doc/Makefile.am b/program/doc/Makefile.am index 4d7182b6..0fd7237a 100644 --- a/program/doc/Makefile.am +++ b/program/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 @@ -38,7 +38,7 @@ 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 $< > $@