I'd try creating two TOCs, "hiding" one of them, and swapping
them out as needed.
MyProjectFolder
...!SkinSubFolder!
...!SSL!
...
MyProject.hhc
...other project files, topics, images, etc.
...MyTocFolders
......PrivilegesToc
.........
MyProject.hhc
......BillingToc
.........
MyProject.hhc
Note that each .hhc
must be named the same as your project, therefore the two
folders to keep them separate and easily identifiable. As needed,
then, you would move one or the other to the root of your project
and generate your output. Of course, you'll need to keep a constant
watch over whether you're actually using the correct one before you
generate a specific version, but at least this would save you from
conditional hell!
Good luck,
Leon