[Build-common-hackers] class vs rules?
IOhannes m zmoelnig
zmoelnig at iem.at
Tue Aug 23 15:41:05 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
On 2011-08-23 10:41, Jonas Smedegaard wrote:
> Classes are composed with extendability in mind, rules are not.
so if my mindset is non-extendable today i will put foo.mk in rules/
but what happens if i change my mind, and redesign it to be extendible?
>> esp., why is "gnustep.mk" a 'class' and and "kde.mk" a 'rule'?
> Both are classes.
"gnustep.mk" lives in "rules" (despite me claiming it was a "class")
so is the distinction between the two types a theoretical or do you find
it easy to put a snippet into one of the 2 directories?
and how about users? is the end-user supposed to guess the compositional
structure of the snippet they want to use? ;-)
personally, i usually just do a grep (or similar) over
/usr/share/cdbs/1/*/* to find if there is anything useful for me...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
More information about the Build-common-hackers