Conditional packages
Hi,
I'm distributing a debian/ dir with many of my projects. Currently,
I'm working with AweMUD, and running into this problem.
There are the official releases (i.e. 0.5.10) and the CVS snapshots
(i.e. 0.5.10.20011215). I want to have it so that the official releases
are in a package awemud, while the cvs snapshots are in awemud-cvs. My
current setup builds both packages, no matter what the version is, so at
least I can pick and choose which to upload.
The problem is for users; I want it so that users downloading the
official release will just get package awemud when the build it, and CVS
users to only get the awemud-cvs package.
So, is there anyway to automate this? I.e., any way in the rules file
to turn on/off a certain package? If not, then, for anyone who
distributes a debian/ dir with their upstream packages, and makes
regular CVS snapshots available, what do you do to get around this?
Thanks,
Sean Etc.
Reply to: