Add an update-copyright target to refresh debian/copyright using upstream's COPYING files, thanks to Julien Cristau.
This commit is contained in:
parent
56e01e5132
commit
909222d7e2
|
@ -13,6 +13,8 @@ x11-xserver-utils (7.6~1) UNRELEASED; urgency=low
|
||||||
* xset 1.2.1
|
* xset 1.2.1
|
||||||
* xsetroot 1.1.0
|
* xsetroot 1.1.0
|
||||||
* xstdcmap 1.0.2
|
* xstdcmap 1.0.2
|
||||||
|
* Add an update-copyright target to refresh debian/copyright using
|
||||||
|
upstream's COPYING files, thanks to Julien Cristau.
|
||||||
|
|
||||||
-- Cyril Brulebois <kibi@debian.org> Fri, 12 Nov 2010 18:02:37 +0100
|
-- Cyril Brulebois <kibi@debian.org> Fri, 12 Nov 2010 18:02:37 +0100
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
The contents of this package were downloaded from
|
||||||
|
http://xorg.freedesktop.org/releases/individual/app/
|
||||||
|
|
||||||
|
It contains the iceauth, rgb, sessreg, xcmsdb, xgamma, xhost, xmodmap, xrandr,
|
||||||
|
xrdb, xrefresh, xset, xsetmode, xsetpointer, xsetroot, xstdcmap, xvidtune
|
||||||
|
applications
|
|
@ -113,3 +113,11 @@ get-tarballs: $(addprefix get-tarball-,$(SUBDIRS))
|
||||||
.PHONY: get-tarball-%
|
.PHONY: get-tarball-%
|
||||||
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
|
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
|
||||||
|
|
||||||
|
update-copyright: $(addsuffix /COPYING, $(SUBDIRS)) debian/copyright.head
|
||||||
|
cp debian/copyright.head debian/copyright
|
||||||
|
for subdir in $(SUBDIRS); do \
|
||||||
|
echo >> debian/copyright && \
|
||||||
|
echo $$subdir: >> debian/copyright && \
|
||||||
|
sed -e 's/^./ &/' < $$subdir/COPYING >> debian/copyright \
|
||||||
|
|| exit; done
|
||||||
|
|
Loading…
Reference in New Issue