* Add suspicious-source: Output a list of files which are not common source

files. This should be run in the root of a source tree to find files which
  might not be the 'prefered form of modification' that the GPL and other
  licenses require.
This commit is contained in:
Martin Pitt 2007-07-09 16:17:24 +01:00
parent 62aa5254f6
commit a90efc7ba2
4 changed files with 25 additions and 1 deletions

9
debian/changelog vendored
View File

@ -1,3 +1,12 @@
ubuntu-dev-tools (0.2) UNRELEASED; urgency=low
* Add suspicious-source: Output a list of files which are not common source
files. This should be run in the root of a source tree to find files which
might not be the 'prefered form of modification' that the GPL and other
licenses require.
-- Martin Pitt <martin.pitt@ubuntu.com> Mon, 09 Jul 2007 16:01:04 +0100
ubuntu-dev-tools (0.1) gutsy; urgency=low
* Initial Release.

2
debian/copyright vendored
View File

@ -6,12 +6,14 @@ Upstream Author:
Luke Yelavich <themuso@ubuntu.com>
Albin Tonnerre <lut1n.tne@gmail.com>
Michael Bienia <geser@ubuntu.com>
Martin Pitt <martin.pitt@ubuntu.com>
Copyright:
Daniel Holbach <daniel.holbach@ubuntu.com> 2006-2007
Luke Yelavich <themuso@ubuntu.com> 2006-2007
Albin Tonnerre <lut1n.tne@gmail.com> 2006-2007
Michael Bienia <geser@ubuntu.com> 2006-2007
Martin Pitt <martin.pitt@ubuntu.com> 2007
License:

View File

@ -22,7 +22,8 @@ setup(name='ubuntu-dev-tools',
'dch-repeat',
'mk-sbuild-lv',
'pull-debian-debdiff',
'what-patch'
'what-patch',
'suspicious-source',
],
)

12
suspicious-source Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh -e
# Author: Martin Pitt <martin.pitt@ubuntu.com>
# License: GPL v2 or later
#
# Output a list of files which are not common source files. This
# should be run in the root of a source tree to find files which might
# not be the 'prefered form of modification' that the GPL and other
# licenses require.
find -type f ! \( -name '*.h' -o -name '*.c' -o -name '*.cc' -o -name '*.cpp' -o -name Makefile -o -name configure -o -name '*.3' -o -name '*.html' -o -name '*.txt' -o -name '*.xml' -o -name Makefile.am -o -name Makefile.in -o -name '*.m4' -o -name config.sub -o -name config.guess -o -name ltmain.sh -o -name depcomp -o -name configure.ac -o -name *.py -o -name NEWS -o -name README -o -name INSTALL -o -name TODO -o -name ChangeLog -o -name '*.docbook' -o -name '*.png' -o -name '*.desktop' -o -name '*.ui' -o -name '*.po' -o -name '*.py' -o -name '*.svg' -o -name '*.bmp' -o -name '*.gif' -o -name '*.pot' -o -name '*.xpm' -o -name '*.glade' -o -name '*.gladep' \)