Package: lintian Severity: wishlist It would be very nice if lintian could have detected this situation:
http://lwn.net/Articles/453970/ This would need a mechanism to check for generated files that are missing source files. This bug isn't about any specific type of missing source, but I have included some examples of generated files and their source listed below. In addition, this regex from licensecheck seems useful for detecting generated files, I guess it would be harder to figure out if source is missing though. if ($licensetext =~ /(All changes made in this file will be lost|DO NOT (EDIT|delete this file)|Generated (automatically|by|from)|genera ted.*file)/i) { $license = "GENERATED FILE"; } bison parsers: Generator: bison/yacc Source: *.y, *.ypp Result: *.c, *.cpp Detection: /* A Bison parser, made by GNU Bison 2.4.1. */ Mapping: same filename with changed extension flex lexers: Generator: flex Source: *.l, *.lpp Result: *.c, *.cpp Detection: /* A lexical scanner generated by flex */ Mapping: same filename with changed extension vala source code: Generator: valac Source: *.vala Result: *.c Detection: /* main.c generated by valac 0.14.2, the Vala compiler * generated from main.vala, do not modify */ Mapping: same filename with changed extension or maybe the comment inkscape renders: Generator: inkscape Source: *.svg Result: *.png Detection: tEXtSoftware\0www.inkscape.org Mapping: similar filename with changed extension and possibly removed parts of the filename, possibly in a different directory. -- bye, pabs http://wiki.debian.org/PaulWise
signature.asc
Description: This is a digitally signed message part