1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
|
package Slash::Apache;
use ExtUtils::MakeMaker;
#Kinda weird looking ain't it? -Brian
use Apache::ExtUtils qw (command_table);
use Apache::src ();
use Apache::Constants;
my @directives = (
{ name => 'SlashVirtualUser',
errmsg => 'Takes a DBIx::Password virtual name',
args_how => 'TAKE1',
req_overrive => 'ACCESS_CONF'
},
{ name => 'SlashSetVar',
errmsg => 'Takes a key and a value that will override the var values in the DB',
args_how => 'TAKE2',
req_overrive => 'ACCESS_CONF'
},
{ name => 'SlashSetForm',
errmsg => 'Takes a key and a value that will be applied to each form object',
args_how => 'TAKE2',
req_overrive => 'ACCESS_CONF'
},
{ name => 'SlashCompileTemplates',
errmsg => 'Turn precompiling templates on or off',
args_how => 'FLAG',
req_overrive => 'ACCESS_CONF'
}
);
command_table(\@directives);
WriteMakefile(
'NAME' => 'Slash::Apache',
'VERSION_FROM' => 'Apache.pm',
'INC' => Apache::src->new->inc . ' -I/usr/include/apache-1.3',
);
|