diff options
| author | Julien Cristau <jcristau@debian.org> | 2010-01-02 09:57:26 +0000 |
|---|---|---|
| committer | Julien Cristau <jcristau@debian.org> | 2010-01-02 09:57:26 +0000 |
| commit | 0c9c1794133f193a5c06808dc048978c0fc87c74 (patch) | |
| tree | 5527a655acebc86f706fdd786f619618a3dbd2e9 /debian/rules | |
| parent | 90207a2ada2e216c90a8773610179bd233fd3744 (diff) | |
| download | xutils-dev-0c9c1794133f193a5c06808dc048978c0fc87c74.tar.gz | |
Add watch files and debian/rules target to download tarballs.
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index bea5642..e943e5b 100755 --- a/debian/rules +++ b/debian/rules @@ -98,3 +98,19 @@ binary-indep: build install binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install + +.PHONY: get-tarballs +get-tarballs: $(addprefix get-tarball-,$(SUBDIRS)) + +.PHONY: get-tarball-% +get-tarball-%: + uscan --no-conf --download --no-symlink --destdir . --package $* --upstream-version $(shell awk -F = '/^PACKAGE_VERSION=/ { print $$2 }' < $*/configure || echo 0) --watchfile debian/watch.$* || test $$? = 1 + +debian/watch.%: + echo version=3 > $@ + echo 'http://xorg.freedesktop.org/releases/individual/util/ $*-(.*)\.tar\.gz' >> $@ + +.PHONY: watchfiles +watchfiles: $(addprefix debian/watch.,$(SUBDIRS)) + +# vim:set ai noet sw=8 ts=8 tw=80: |
