1 # UCW Library configuration system: documentation requirements
2 # (c) 2008 Michal Vaner <vorner@ucw.cz>
4 package UCW::Configure::Paths;
10 Test("ASCII_DOC", "Checking for AsciiDoc", sub {
11 my $version = `asciidoc --version`;
12 return "none" if !defined $version || $version eq "";
13 my( $vnum ) = $version =~ / (\d+)\.\S*$/;
14 return "old" if $vnum < 7;
18 if(Get("ASCII_DOC") eq "yes") {
21 Warn("Need asciidoc >= 7 to build documentation");