[pkg-nvidia-devel] r1279 - /packages/nvidia-graphics-drivers/trunk/debian/rules
anbe-guest at users.alioth.debian.org
anbe-guest at users.alioth.debian.org
Fri Jul 2 10:52:30 UTC 2010
Author: anbe-guest
Date: Fri Jul 2 10:52:30 2010
New Revision: 1279
URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1279
Log:
add a target to nicely wrap a long list of GPUs (manual use only)
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=1279&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/rules Fri Jul 2 10:52:30 2010
@@ -211,6 +211,11 @@
debian/module/debian/changelog: debian/changelog
sed '1s/^nvidia-graphics-drivers/nvidia-kernel/g' $< > $@
+
+# only invoked manually
+%.txt: %.list
+ sed -e 's/ /#/g; s/#*$$/,/; $$ s/,$$//' $< | ( tr '\n' ' '; echo ) \
+ | fold -s -w 78 | sed -e 's/#/ /g; s/^/ /; s/ *$$//' > $@
# Renaming control files for legacy packaging
ifneq (,$(legacy))
More information about the Pkg-nvidia-devel
mailing list