Adam H. Pendleton wrote:

Dave Page wrote:

Say I have some code in a script that looks like:
mv pgadmin3.tgz pgadmin3-${VERSION}.tgz When configure runs, it then changes that to:
mv pgadmin3.tgz pgadmin3-1.1.0.tgz
Rather than change it of course, it could take /script.in/ and create /script/.

Sure, that seems easy enough to do. The only catch would be that configure would probably have to have the version number hard-coded into it.


Can't we have this grep/awk-ed from version.h? I just introduced the macro VERSION_PACKAGE:

grep VERSION_PACKAGE src/include/version.h | awk '{print $3}'


Regards, Andreas


---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings

Reply via email to