[pkg-nvidia-devel] [patch 190xx] [34/k] add a new-orig-tar-gz target and simplify instructions

Jean-Christophe Dubacq jcdubacq1 at free.fr
Sun May 2 23:01:59 UTC 2010


On 03/05/2010 00:33, Andreas Beckmann wrote:
> Hi,
> 
> attached patch adds a new target new-orig-tar-gz to debian/rules that
> creates a new *.orig.tar.gz from already downloaded new *.run files. So
> you can actually create a new *.orig.tar.gz by running two commands:
> 
>     uscan --verbose
>     debian/rules new-orig-tar-gz NVIDIA_RELEASE=XYZ.ABC
> 
> The patch also updates README.source accordingly.
> 
> If there is a more commonly used name for a target that creates an
> .orig.tar.gz tarball, feel free to rename new-orig-tar-gz to this more
> common name.
get-orig-source, maybe?
I have this somewhere (for another project):
get-orig-source:
	rm -rf get-orig-source || true
	mkdir get-orig-source
	uscan --no-symlink --download-current-version --destdir get-orig-source
	@set -x;cd get-orig-source;a=$$(ls *.tar.gz);tar xzf $$a;rm -f $$a;rm
-f $$a;a=$$(basename $$a .tar.gz);rm $$a/Documentation/TeX/cycle.ps;tar
cjf ../../$${a%-*}_$${a##*-}+dfsg.orig.tar.bz2 $$a
	rm -rf get-orig-source || true



-- 
Jean-Christophe Dubacq



More information about the Pkg-nvidia-devel mailing list