On 3/28/06, Giacomo A. Catenazzi <[EMAIL PROTECTED]> wrote: > > I guess this is easier than manually checking, but that would mean > > changing the source at build time, which is a huge no-no. The source > > you see is not the source you get. > > I agree, the sources should not be changes, but what are the sources? > > I see a lot of program that send to compiler external variables > (-DVARIABLE), ./configure normally generate Makefiles from Makefile.in, > so I would see a big problem if we set in source > "--VERSION--" of some clear thing, and that would substitute to > make the "compiled' script.
but they do not change the original sources at build time (except the dpatched ones, but that is another issue) I can agree this would not be such a hard to follow change, but I don't like the idea of changing the source just for this. > The main point of apt-zip code is to create shell script from > a shell script, so it would be difficult to the code reader to > understand this small substitution. And it would work also if we > don't substitute "--VERSION--". > > A sane option would be to ask dpkg-dev developers to export the > > environment for the build and get the Source-Version from there (note: > > a discussion has started about this on #d-devel) > > To much traffic, could you point me the period and the subject of the > thread? Thanks! I was talking about #d-devel @ freenode.net irc channel :) -- Regards, EddyP ============================================= "Imagination is more important than knowledge" A.Einstein

