[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#762179: detect source files in orig.tar.gz generated by gperf



Package: lintian
Severity: wishlist


gperf generates C and C++ files

The generated files are source code but they are not the preferred form
of modification

Some upstream projects include these generated files in release tarballs
and repositories.  Sometimes their build scripts don't correctly detect
changes and regenerate the files when required.

To ensure that the files can be regenerated on demand, it would be
desirable to discourage keeping these generated sources in the orig.tar.gz

Lintian could detect such files quite easily as they often contain
patterns such as:



/* C++ code produced by gperf version 3.0.3 */


/* ANSI-C code produced by gperf version 2.7.2 */


Reply to: