Hello, dear maintainer. I'm attaching a patch to remove htdocs/ from cppcheck's source package. This should get rid of the website altogether and fix this bug.
There is a script called runastyle that still reference htdocs/ but I didn't find a reference to it anywhere. I don't know how to fix this yet. I provide this in the hope to help prevent cppcheck from being removed from Testing. I frequently use cppcheck. After doing these changes I had to use uscan to re-download the current version and have it recreate the new, dfsg-compliant package. I ran debuild -us -uc over a directory with htdocs/ removed and it worked. Thanks.
diff -Nur cppcheck-1.61/debian/changelog cppcheck-1.61+dfsg/debian/changelog --- cppcheck-1.61/debian/changelog 2013-08-04 01:04:20.000000000 -0700 +++ cppcheck-1.61+dfsg/debian/changelog 2014-02-11 23:43:41.397027340 -0800 @@ -1,3 +1,11 @@ +cppcheck (1.61+dfsg-1.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Removed htdocs from source package to prevent licensing issues with + sourceless JavaScript files. + + -- Octavio Alvarez <alvar...@alvarezp.com> Tue, 11 Feb 2014 23:42:57 -0800 + cppcheck (1.61-1) unstable; urgency=low * New upstream release diff -Nur cppcheck-1.61/debian/copyright cppcheck-1.61+dfsg/debian/copyright --- cppcheck-1.61/debian/copyright 2013-01-19 12:32:08.000000000 -0800 +++ cppcheck-1.61+dfsg/debian/copyright 2014-02-11 23:41:59.366091810 -0800 @@ -1,6 +1,7 @@ -Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166 +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: cppcheck Source: https://sourceforge.net/projects/cppcheck +Files-Excluded: htdocs Files: * Copyright: diff -Nur cppcheck-1.61/debian/watch cppcheck-1.61+dfsg/debian/watch --- cppcheck-1.61/debian/watch 2011-02-06 10:20:48.000000000 -0800 +++ cppcheck-1.61+dfsg/debian/watch 2014-02-11 23:42:23.953835291 -0800 @@ -1,2 +1,2 @@ version=3 -http://sf.net/cppcheck/cppcheck-(.+)\.tar\.gz +opts=dversionmangle=s/\+dfsg// http://sf.net/cppcheck/cppcheck-(.+)\.tar\.gz