Combines things into output file name for .html and .di files.
Input:
name Command line name given for the file, NULL if none
dir Command line directory given for the file, NULL if none
arg Name of the source file
ext File name extension to use if 'name' is NULL
global.params.preservePaths get output path from arg
srcfile Input file - output file name must not match input file
Combines things into output file name for .html and .di files. Input: name Command line name given for the file, NULL if none dir Command line directory given for the file, NULL if none arg Name of the source file ext File name extension to use if 'name' is NULL global.params.preservePaths get output path from arg srcfile Input file - output file name must not match input file