diff options
author | Niko Tyni <ntyni@iki.fi> | 2005-02-15 18:50:51 +0100 |
---|---|---|
committer | Niko Tyni <ntyni@iki.fi> | 2005-02-15 18:50:51 +0100 |
commit | c8c27595a1bc378aa28ffc6868e7e8e65e06a814 (patch) | |
tree | 26ecaa16b45303b5fea0a2a09eacae67e9475bb6 /Makefile | |
parent | cc7bc1ad2526737978ccbbca541f90f5e8a1c82b (diff) | |
download | smokeping-c8c27595a1bc378aa28ffc6868e7e8e65e06a814.tar.gz smokeping-c8c27595a1bc378aa28ffc6868e7e8e65e06a814.tar.xz |
Further pod2html fixes - links are now properly relative.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 's,[^/]*/,../,g'); pod2html --infile=$(CURDIR)/$< --outfile=$(notdir $@) --noindex --htmlroot=. --podroot=. --podpath=$${top}doc --title=$* +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=$* # 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 @@ -121,7 +121,7 @@ patch: perl -i~ -p -e 's/Smokeping \d.*?;/Smokeping $(VERSION);/' bin/smokeping.dist htdocs/smokeping.cgi.dist killdoc: - -rm doc/*.[1357] doc/*.txt doc/*.html doc/Smokeping/* doc/Smokeping/probes/* doc/Smokeping/matchers/* doc/ISG/* doc/examples/* doc/smokeping_examples.pod doc/smokeping_config.pod + -rm doc/*.[1357] doc/*.txt doc/*.html doc/Smokeping/* doc/Smokeping/probes/* doc/Smokeping/matchers/* doc/ISG/* doc/examples/* doc/smokeping_examples.pod doc/smokeping_config.pod doc/smokeping.pod doc/smokeping.cgi.pod doc: killdoc ref examples man html txt rename-man |