[pkg-nvidia-devel] Bug#533518: nvidia-graphics-drivers: improved handling of generated files

Andreas Beckmann debian at abeckmann.de
Thu Jun 18 10:48:33 UTC 2009


Package: nvidia-graphics-drivers
Version: 185.18.14-1
Severity: normal
Tags: patch

Hi,

here comes a patch that improves handling of generated files:
* do not regenerate debian/control during build (using code inspired by
  and stolen from linux-support)
* no longer ship generated files in the source package, they are
  regenerated during build anyway
* no more messsing around with debian.binary/changelog

After applying the patch, the following changes have to be made:
* rename debian/control.in to debian/control.gen.in
* remove all generated files (also from svn repository)
  except debian/control (removing everything that's missing after
  running debian/rules clean should be fine)
* there is a new generated file debian/control.md5sum (generated and
  updated during debian/rules clean) that needs to be added to the svn
  repository

debian/rules clean will now regenerate debian/control and
debian/control.md5sum (if neccessary) and the build will bomb if
debian/control{,.md5sum} is not up-to-date


Andreas


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (800, 'testing'), (800, 'stable'), (600, 'unstable'), (130, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nvidia-graphics-drivers-autogenerated-files.patch
Type: text/x-diff
Size: 3828 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20090618/036c045a/attachment-0001.patch>


More information about the Pkg-nvidia-devel mailing list