Re: ${Source-Version} without revision

2005-12-10 Thread Andreas Metzler
Jérôme Marant <[EMAIL PROTECTED]> wrote: > Bartosz Fenski aka fEnIo <[EMAIL PROTECTED]> writes: >> Is there any variable similar to ${Source-Version} which would allow me to >> use version of the upstream sources in control file? [...] > Use dpkg-parsechangelog along with sed to get the upstream fr

Re: ${Source-Version} without revision

2005-12-10 Thread Henrique de Moraes Holschuh
On Sat, 10 Dec 2005, Jérôme Marant wrote: > Use dpkg-parsechangelog along with sed to get the upstream from > the debian version. > Then use dpkg-gencontrol -VUpstream-Version=$(upstream_version) Yes, something like (makefile syntax): # Version information VERSION?=$(shell dpkg-parsechangelog |

Re: ${Source-Version} without revision

2005-12-10 Thread Jérôme Marant
Bartosz Fenski aka fEnIo <[EMAIL PROTECTED]> writes: > Hello. > > Is there any variable similar to ${Source-Version} which would allow me to > use version of the upstream sources in control file? > > I have packages where program and data are distributed separately and > usually there are no need