diff options
author | Niko Tyni <ntyni@iki.fi> | 2005-02-15 21:00:10 +0100 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2005-02-15 21:00:10 +0100 |
commit | 8edf3d57eea6c5895701c2a14376a93a11d068de (patch) | |
tree | c3b10a2a7f47380e2f9e3e97bbe226e41d2c067c /Makefile | |
parent | c8c27595a1bc378aa28ffc6868e7e8e65e06a814 (diff) | |
download | smokeping-8edf3d57eea6c5895701c2a14376a93a11d068de.tar.gz smokeping-8edf3d57eea6c5895701c2a14376a93a11d068de.tar.xz |
One more shot at pod2html...
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,7 +6,7 @@ GROFF = groff .SUFFIXES: .SUFFIXES: .pm .pod .txt .html .man .1 .3 .5 .7 -DOCS = $(filter-out doc/smokeping_config.pod,$(wildcard doc/*.pod)) doc/smokeping_examples.pod # section 7 +DOCS = $(filter-out doc/smokeping_config.pod doc/smokeping.pod doc/smokeping.cgi.pod,$(wildcard doc/*.pod)) doc/smokeping_examples.pod # section 7 DOCSCONFIG := doc/smokeping_config.pod # section 5 PM := lib/ISG/ParseConfig.pm lib/Smokeping.pm lib/Smokeping/Examples.pm PODPROBE := $(wildcard lib/Smokeping/probes/*.pm) @@ -28,7 +28,7 @@ HTML= $(addsuffix .html,$(BASE)) POD2MAN = pod2man --release=$(VERSION) --center=SmokePing $< MAN2TXT = $(GROFF) -man -Tascii $< > $@ # pod2html apparently needs to be in the target directory to get L<> links right -POD2HTML= cd $(dir $@); top=./$(shell echo $(dir $@)|sed -e 's,doc/,,' -e 's,[^/]*/,../,g'); pod2html --infile=$(CURDIR)/$< --outfile=$(notdir $@) --noindex --htmlroot=. --podroot=. --podpath=$${top} --title=$* +POD2HTML= cd $(dir $@); top="$(shell echo $(dir $@)|sed -e 's,doc/,,' -e 's,[^/]*/,../,g')"; top=$${top:-.}; pod2html --infile=$(CURDIR)/$< --outfile=$(notdir $@) --noindex --htmlroot=. --podroot=. --podpath=$${top} --title=$* # we go to this trouble to ensure that MAKEPOD only uses modules in the installation directory MAKEPOD= perl -Ilib -I/usr/pack/rrdtool-1.0.47-to/lib/perl -mSmokeping -e 'Smokeping::main()' -- --makepod GENEX= perl -Ilib -I/usr/pack/rrdtool-1.0.47-to/lib/perl -mSmokeping -e 'Smokeping::main()' -- --gen-examples |