package Pod::HtmlPsPdf::Config::Local;

# Note that the doc builder chdir's to directory of this file, so all
# the directories can be specified relative to this directory. Of
# course you can specify the full path, but then if you moves the
# whole thing into a different location, you will have to update the
# hardcoded paths as well.

use vars qw(%c);

    # pod files in the order you want to see them in the linked html
    # (and the book)

%c =
    (

     dir => {
 	     
 	     # the source files directory
 	     src        => "./src",
 	     
 	     # the resulting html files directory
 	     rel_html   => "./rel_html",
 	     
 	     # the resulting ps and pdf files directory (and special
 	     # set of html files used for creating the ps and pdf
 	     # versions.)
 	     rel_ps     => "./rel_ps",
 	     
 	     # the resulting split version html files directory
 	     split_html => "./split_html",
 	     
	     # the name of the directory the resulting files should be
	     # packaged under
	     out        => "./mod_perl_guide",
	     
 	    },	

     file => {
	      # the source modification control	file
	      last_modified => "./src/.last_modified",
	      
	      # the location of the toc_file
	      toc_file      => "./bin/toc_file",
	      
	      # the file with version number e.g:
	      # 
	      # package Apache::mod_perl_guide;
	      # $VERSION = '1.26';
	      # 1;
	      version_file  => "./src/Version.pm",
	      
	      # the html2ps configuration file
	      html2ps_conf  => "./conf/html2ps.conf",
	      
	     },
     
     # the package name as declared in $c{file}{version_file}
     package_name => 'Apache::mod_perl_guide',

     # an ordered list pod files relative to $c{src}
     # the order is important for a correct placing of the chapters
     ordered_pod_files => 
     [
      qw(
	 intro.pod
	 start.pod
	 perl.pod
	 install.pod
	 config.pod
	 control.pod
	 strategy.pod
	 scenario.pod
	 porting.pod
	 performance.pod
	 frequent.pod
	 troubleshooting.pod
	 correct_headers.pod
	 security.pod
	 databases.pod
	 dbm.pod
	 multiuser.pod
	 debug.pod
	 browserbugs.pod
	 modules.pod
	 snippets.pod
	 hardware.pod
	 advocacy.pod
	 help.pod
	 download.pod
	)
     ],
     
     # non-pod/html files or dirs to be copied unmodified
     non_pod_files => [
		       qw(
			  ./CHANGES 
			  ./style.css 
			  ./images/mod_perl.gif
			  ./images/mod_perl2.jpg
			  ./code/DB_File-Lock2.pm
			  ./code/My-DB.pm
			  ./code/mysql-3.22.29_backup.pl
			  ./code/mysql-3.22.29_restore.pl
			  ./code/mysql-3.22.30+_backup.pl
			  ./code/mysql-3.22.30+_restore.pl
			)
		      ],
     
     # template files
     tmpl => {
	      index_html => "./tmpl/index.tmpl",  
	      index_ps   => "./tmpl/indexps.tmpl",
	      page_html  => "./tmpl/page.tmpl", 
	      page_ps    => "./tmpl/pageps.tmpl", 
	      page_split_html  => "./tmpl/splitpage.tmpl",
	     },
     
     # the base name of the created tar.gz file
     out_name      => "mod_perl_guide",

     mode => {
	      # you can override the directories creation mode
	      dir      => 0755,
	     },

    );


# don't forget!!!
1;

__END__
