summaryrefslogtreecommitdiffstats
path: root/lib/Smokeping
diff options
context:
space:
mode:
authorTobi Oetiker <tobi@oetiker.ch>2011-09-28 23:18:01 +0200
committerTobi Oetiker <tobi@oetiker.ch>2011-09-28 23:18:01 +0200
commitc7fd04defd13eb3d962156292bf6abaaa893619d (patch)
tree1dd41cb3a522ef685b866a3c08e566f683fca85a /lib/Smokeping
parent4b3cafae64c7c562cbec2231488f63d912f269ca (diff)
downloadsmokeping-c7fd04defd13eb3d962156292bf6abaaa893619d.tar.gz
smokeping-c7fd04defd13eb3d962156292bf6abaaa893619d.tar.xz
fix to work with new automake build
Diffstat (limited to 'lib/Smokeping')
-rw-r--r--lib/Smokeping/Examples.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Smokeping/Examples.pm b/lib/Smokeping/Examples.pm
index 800fe30..49806bd 100644
--- a/lib/Smokeping/Examples.pm
+++ b/lib/Smokeping/Examples.pm
@@ -65,7 +65,7 @@ Niko Tyni <ntyni@iki.fi>
use strict;
sub read_config_template {
- my $file = "etc/config.dist";
+ my $file = "../etc/config.dist";
my $h = {
common => "", # everything up to the Probes section
probes => "", # the Probes section, without the *** Probes *** line
@@ -165,7 +165,7 @@ sub make {
my $h = $examples->{$ex};
$manual .= "\n=head2 Example $h->{order}: config.$ex\n\n"
. genpod($h);
- my $cfgfile = "doc/examples/config.$ex";
+ my $cfgfile = "examples/config.$ex";
print "\t$cfgfile ...\n";
writecfg($cfgfile, $template, $h);
if ($check) {
@@ -183,7 +183,7 @@ sub make {
sub writemanual {
my $text = shift;
- my $filename = "doc/smokeping_examples.pod";
+ my $filename = "smokeping_examples.pod";
print "\t$filename ...\n";
open(F, ">$filename") or die("open $filename for writing: $!");
print F $text;