Hi,

Watch file is not just used by you (the maintainer) but by many other
uses such as the DEHS server to get the package status.

What this means is the watch file should be valid for others.

If it only function under a certain environment, that is not desirable
situation.  I suggest you to do as follows.

You provide debian/watch.in template file which creates debian/watch
with the "debian/rules clean" target making substitution.  Package both
in the source file.

Then other people downloading your source package can use debian/watch
while you do not need to edit it for every verion bumps.

I mean you can have something along:

debian/watch.in:
http://archive.xfce.org/src/apps/@@@app@@@/([\d\.]+)/ 
@@@app@@@\.([\d]+\.[\d]+)\.tar\.gz


debian/rules:
package = $(shell dpkg-parsechangelog -SSource)
clean:
        sed "s/@@@app@@@/$(package)/g" <debian/watch.in >debian/watch

So I do not think this is a valid wishlist.

Did I misunderstood the situation?

Osamu

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to