From c7fd04defd13eb3d962156292bf6abaaa893619d Mon Sep 17 00:00:00 2001 From: Tobi Oetiker Date: Wed, 28 Sep 2011 21:18:01 +0000 Subject: fix to work with new automake build --- lib/Smokeping/Examples.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 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; -- cgit v1.2.3-24-g4f1b