[pkg-nvidia-devel] r772 - /packages/nvidia-graphics-drivers/trunk/debian/rules

rra at users.alioth.debian.org rra at users.alioth.debian.org
Wed Apr 7 06:19:16 UTC 2010


Author: rra
Date: Wed Apr  7 06:19:15 2010
New Revision: 772

URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=772
Log:
Use dh_gencontrol -V instead of writing to substvars

Each binary package uses its own substvars file under debhelper, so
use the -V option to dh_gencontrol to set nvidia:Version instead.

Modified:
    packages/nvidia-graphics-drivers/trunk/debian/rules

Modified: packages/nvidia-graphics-drivers/trunk/debian/rules
URL: http://svn.debian.org/wsvn/pkg-nvidia/packages/nvidia-graphics-drivers/trunk/debian/rules?rev=772&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/rules Wed Apr  7 06:19:15 2010
@@ -306,8 +306,7 @@
 	dh_makeshlibs -s
 	dh_installdeb
 	dh_shlibdeps
-	echo 'nvidia:Version=$(version)' >> debian/substvars
-	dh_gencontrol -s
+	dh_gencontrol -V'nvidia:Version=$(version)' -s
 	dh_md5sums
 	dh_builddeb -s
 




More information about the Pkg-nvidia-devel mailing list