Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
This allows us to write:
#if SECTIONS contrib non-free
contrib-package
non-free-package
#endif
and
#if DISTRIBUTION lenny sid
new-package
#endif
|
|
This patch allows giving a list of items for the conditionals in package
lists. For example, it's possible to specify some packages for more than one
architecture in the same conditional block:
package01
#if ARCHITECTURE i386 amd64
package02
package03
#endif
package04
where package01 and package04 are available for all architectures, but
package02 and package03 are available only for i386 and amd64 architectures.
|
|
This patch adds support for simple conditionals in package lists. For
example, to limit a package to i386 only:
foo
#if ARCHITECTURE i386
package-only-in-i386
#endif
bar
Any variable that beings in LH_ can be expanded:
#if MODE ubuntu
package-only-in-ubuntu
#endif
Nesting of conditionals is not supported. If the variable to be expanded
does not exist, the conditional is false.
|
|
|
|
|
|
|
|
|
|
|
|
|