Most of the files below were discussed several months ago, I think.
A few I can dispose of off the top of my head; maybe you can special
case them in your script.
Mats Lidell writes:
 --- working directory: "/src/xemacs/gplv3.d/gplv3-work/"
 % [...]/matsl/gplv3/substgplv2 | egrep -v '^(gplv3|\?!!):' | egrep -v
'*\.(png|texi)' | egrep -v
'/(unicode|lispref|new-users-guide|man/xemacs|lwlib)/' | egrep -v TUTORIAL 
 ?:           "./lock/.precious"  
Not copyrightable.
 unknown(C):  "./etc/photos/change.sh"  
This is yours, or something you imported.  It's not part of XEmacs (hg
manifest | grep -F changes.sh => nothing).
 ?:           "./etc/editclient.sh" 
 ?:           "./etc/sample.Xresources" 
 ?:           "./etc/xemacs.1" 
 ?:           "./etc/ctags.1"  
I believe this is part of the etags distribution, which is not part of
XEmacs.
 ?:           "./etc/gnuserv.1" 
 ?:           "./etc/VEGETABLES"  
Not copyrightable.
 ?:           "./etc/gnuattach.1" 
 ?:           "./etc/emacskeys.sco"  
 ?:           "./etc/sample.Xdefaults"  
I think we can remove this one now, even if people use .Xdefaults
personally it's been 10 years or more since it was deprecated by the
X11 developers.
 unknown(C):  "./etc/etags.1"  
I believe this is part of the etags distribution, which is not part of
XEmacs.
 ?:           "./etc/gnuserv.README" 
 unknown(C):  "./etc/refcard.tex" 
 ?:           "./etc/gnudoit.1" 
 ?:           "./etc/gnuclient.1" 
 ?:           "./etc/custom/example-themes/ex-custom-file" 
 ?:           "./etc/gtkrc" 
 unknown(C):  "./etc/XKeysymDB" 
 ?:           "./etc/HELLO"  
Replace this with GNU's HELLO file.
 
 ?:           "./etc/emacsstrs.sco" 
 ?:           "./etc/Emacs.ad" 
 ?:           "./etc/InstallGuide" 
 ?:           "./tests/gtk/UNIMPLEMENTED" 
 ?:           "./tests/tooltalk/beeps.el" 
 ?:           "./lisp/term/bobcat.el" 
 ?:           "./lisp/dump-paths.el" 
 ?:           "./lisp/mule/mule-locale.txt" 
 ?:           "./modules/zlib/Makefile" 
 ?:           "./modules/common/configure-pre.ac" 
 ?:           "./modules/common/configure-post.ac" 
 ?:           "./modules/base64/Makefile" 
 unknown(C):  "./modules/postgresql/postgresql.c" 
 unknown(C):  "./modules/postgresql/postgresql.h" 
These two files can be made GPLv3.
 ?:           "./SUBST"  
Something's not clean here.  That's not part of XEmacs.
 unknown(C):  "./src/miscplay.c" 
 ?:           "./src/alloca.c" 
 ?:           "./src/emacs-marshals.c"  
This file is either generated or Copyright Bill Perry.
 ?:           "./src/intl-auto-encap-win32.h" 
 ?:           "./src/intl-auto-encap-win32.c"  
These two are generated, I believe.
 unknown(C):  "./src/libst.h" 
 unknown(C):  "./src/sunplay.c" 
 unknown(C):  "./src/linuxplay.c" 
 ?:           "./src/paths.h.in" 
 unknown(C):  "./src/miscplay.h" 
 ?:           "./src/s/irix6-0.h" 
 ?:           "./src/s/usg5-4-2.h" 
 ?:           "./src/s/sol2.h" 
 ?:           "./src/s/openbsd.h" 
 ?:           "./src/s/freebsd.h" 
 ?:           "./src/s/netbsd.h" 
 ?:           "./src/emacs-widget-accessors.c"  
This file is either generated or Copyright Bill Perry.
 unknown(C):  "./src/nas.c" 
 unknown(C):  "./src/libsst.h" 
 unknown(C):  "./src/libsst.c" 
 ?:           "./xemacs-build-report.err"  
Something's not clean here.  That's not part of XEmacs.
 ?:           "./version.sh.in" 
 unknown(C):  "./CHANGES-beta"  
Something's busted in your script; that file doesn't have a copyright
notice AFAIK.
 unknown(C):  "./man/texinfo.tex" 
 ?:           "./xemacs-make-all.err" 
 ?:           "./xemacs-make-check.err"  
Something's not clean here.  Those two are not part of XEmacs.
 ?:           "./nt/paths.h" 
 ?:           "./nt/config.inc.samp"  
That's surely the work of Ben Wing, plus maybe Adrian Aichner, Andy
Piper, and Vin Shelton.  GPLv3 it.
 ?:           "./nt/Xmd.patch" 
 ?:           "./nt/xemacs.dsp" 
 ?:           "./nt/site.def" 
 ?:           "./nt/xemacs.dsw" 
 ?:           "./nt/Installation.el" 
 ?:           "./nt/minitar.c" 
 ?:           "./nt/Win32.cf" 
 ?:           "./nt/Emacs.ad.h" 
 unknown(C):  "./PROBLEMS"  
That file doesn't have a copyright notice.
 unknown(C):  "./lib-src/mmencode.c" 
 unknown(C):  "./lib-src/insert-data-in-exec.c" 
 unknown(C):  "./lib-src/b2m.c" 
 ?:           "./lib-src/config.values.in" 
 ?:           "./lib-src/emacs.csh" 
 unknown(C):  "./lib-src/gnuserv.h" 
 
 Done 22:46:10
 
 Yours
 -- 
 %% Mats
 
 _______________________________________________
 XEmacs-Beta mailing list
 XEmacs-Beta(a)xemacs.org
 
http://lists.xemacs.org/mailman/listinfo/xemacs-beta 
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta