Eddy Petrişor 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.
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--".
Anyway I should grep some more packages to check if there is
some standard way to do the job. i don't think apt-zip is the only
package that need version synchronization!.
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!
ciao
cate
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]