Build Scripts

A build script is a batch file which must exist in each directory which is part of your image database. It contains the command(s) and configurable options that tell ImajSite how to create the HTML output files for that directory.

Build scripts have predefined file names as follows:

makeindx.bat

This build script builds or updates the index file and the slide files in the current directory. You can run this build script at any time, and you must run this build script whenever changes are made to the contents of the directory.

The first line of this file should be one of the following:

First LineDescription
@mkhtmdir    This command creates an index which includes an entry for each subdirectory in the current directory.
@mkhtmset    This command creates an index which does not include any entries for subdirectories off the current directory.

Subsequent lines of this file may contain configuration file settings that are specific to that directory.

Example:   
@mkhtmdir
combine=yes
thumbnails=no


makelink.bat

This optional build script creates a symlinks file in the current directory, based on keywords contained in the keyword database. You can run this build script at any time, but it must be run prior to running "makeindx.bat" above.

The first line of this file should be one of the following:

First LineDescription
@mkhtmlnk    This command creates a symlinks file which lists files with a keyword that matches the current directory name.
@mkhtmlnk kwdexpr    This command creates a symlinks file which lists files whose keywords match the specified keyword expression.

Example:   
@mkhtmlnk


Copyright © 1996-1999 Christopher P. LaRosa. All Rights Reserverd.