STR #2066: No way to specify the value of a .drv file variable on the ppdc command line

Status:1 - Closed w/Resolution
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:PPD Compiler
Summary:No way to specify the value of a .drv file variable on the ppdc command line
Version:1.1-feature
Created By:dave.criticalpath
Assigned To:mike
Fix Version:1.1-current (SVN: r302)
Update Notification:

Receive EMails Don't Receive EMails


Trouble Report Files:

No files


Trouble Report Dialog:

Name/Time/Date/Text
dave.criticalpath: 10:55 Oct 27, 2006
 
When building raster drivers, we often make multiple OEM versions of a single driver where the only thing that varies are user visible names (e.g. "Acme foomatic 2000" becomes "FooBar Raster Ultra").

It appears there is no way to set the values of .drv file variables from the command line. Without that, we have to create separate .drv files for each OEM build. If the values of variables could be set from the command line (e.g. like -D for gcc) we could use a single .drv file to create many different PPD files.

 
mike: 13:47 Feb 14, 2007
 
Fixed in Subversion repository.

Added a "-D name=value" option to the PPD compiler...