On Sat, Dec 29, 2012 at 9:21 PM, Lennart Poettering <lenn...@poettering.net> wrote: > On Fri, 28.12.12 23:34, nick black (nick.bl...@sprezzatech.com) wrote: >> This patch adds sprezzos as an alias for debian in the configuration >> script. It also adds a comment exhorting other Debian derivatives to do >> this when possible, in the hope of keeping identifier bloat localized >> to autoconf while providing maximal future-proofing and making the >> correct choice explicit to the largest number of users. > > In general we try to cut down on distro specific magic in the systemd > build tree. We have been slowly working on unifying things across > distros and already removed a couple of these checks. > > As long as we have the need for the TARGET_xxx stuff we'll keep it, but > it's not supposed to be specific per distro, but rather have definitions > for entire "families" of distros. For example, we removed TARGET_UBUNTU > (which existed at a time), since TARGET_DEBIAN already covered that > neatly. > > Sprezzos is in the same category as Ubuntu, right? If so, doesn't > --with-distro=debian do enough for your needs? Do you need more? > >> Ångström, I notice that the semantics of TARGET_ANGSTROM are currently >> equivalent to those of TARGET_DEBIAN. I thus recommend that you convert >> to an alias similarly, allowing removal of TARGET_ANGSTROM #ifdefs scattered >> throughout the systemd code proper. > > Well, is Ångström a Debian derivative? If so then we should replace it > by TARGET_DEBIAN, indeed.
We should probably rename the all the strings to "$distro-legacy", to make it clear, that it is not a "cool" thing to add a new TARGET to the systemd source tree. Kay _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel