[pkg-nvidia-devel] r1226 - /packages/nvidia-graphics-drivers/trunk/debian/rules
anbe-guest at users.alioth.debian.org
anbe-guest at users.alioth.debian.org
Thu Jul 1 07:55:33 UTC 2010
Author: anbe-guest
Date: Thu Jul 1 07:55:31 2010
New Revision: 1226
URL: http://svn.debian.org/wsvn/pkg-nvidia/?sc=1&rev=1226
Log:
make the nvidia.ids target correctly parse the README of all legacy versions, too
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=1226&op=diff
==============================================================================
--- packages/nvidia-graphics-drivers/trunk/debian/rules (original)
+++ packages/nvidia-graphics-drivers/trunk/debian/rules Thu Jul 1 07:55:31 2010
@@ -48,12 +48,15 @@
touch $@
nvidia.ids: unpack-stamp
- sed -e '/^A1/,/^Below/{/ 0x/s/.* 0x\([0-9a-fA-F]\{4\}\).*/10DE\1/p};d' \
- NVIDIA-Linux-$(DEB_HOST_ARCH)/usr/share/doc/README.txt \
+ sed -e '0,/A. Supported\|APPENDIX A: SUPPORTED/d' \
+ -e '0,/Appendix A. Supported\|APPENDIX A: SUPPORTED/d' \
+ -e '0,/^Below\|APPENDIX B/{/ 0x/s/.* 0x\([0-9a-fA-F]\{4\}\).*/10DE\1/p};d' \
+ $(firstword $(wildcard NVIDIA-Linux-$(DEB_HOST_ARCH)/usr/share/doc/README*) /dev/null) \
| tr a-f A-F | sort -u > $@
+ @set -e -x ; \
if ! cmp -s debian/nvidia.ids nvidia.ids ; then \
diff -u debian/nvidia.ids nvidia.ids || true ; \
- echo "*** Supported PCI IDs have changed. See diff above. Aborting. ***"; \
+ : "*** Supported PCI IDs have changed. See diff above. Aborting. ***"; \
exit 1 ; \
fi
More information about the Pkg-nvidia-devel
mailing list