35.11.2 Supplying parameters for the archiving command
To provide values for parameters (other than the archive file name) required by the archiving program:
; ArchiveStartParams = parameters preceding name of archive file
; ArchiveEndParams = parameters following name of archive file
For parameters that are to be passed to an archiving program, observe the following:
• Do not enclose parameter values in quotes.
• Use backslashes as separators in path-name parameters.
• Use a dash (“-”) instead of a forward slash to prefix a command option.
ArchiveStartParams specifies any parameters to ArchiveCommand that must precede the name of the archive file, such as command option -add for pkzip or -a (the default) for wzzip. For example, the starting-parameter setting for the Mif2Go User's Guide is simply:
ArchiveEndParams specifies any parameters to ArchiveCommand that must follow the name of the archive file, such as *.* for pkzip or wzzip. For example, the ending-parameter setting for the Eclipse Help version of the Mif2Go User's Guide is:
ArchiveEndParams = doc.zip *.xml
Archiving directly from the project directory
If you are archiving from the project directory instead of from a separate directory designated by WrapPath (see §35.6 Assembling files for distribution), it is better to enumerate the files (at least by extension) to include in the archive. If you specify ArchiveEndParams=*.*, you might end up with .ref, .ini, .grx, and other unwanted files in the archive. For example, for an HTML project to be archived from the project directory you might specify the following:
ArchiveEndParams = *.htm *.css *.gif *.jpg *.png
For the HTML Help version of the Mif2Go User's Guide, which does not use a WrapPath directory, the setting specifies each file to be included:
ArchiveEndParams = ugmif2go.chm
> 35 Producing deliverable results > 35.11 Archiving deliverables > 35.11.2 Supplying parameters for the archiving command