summaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2011-03-09 21:42:08 +0000
committerGreg Hudson <ghudson@mit.edu>2011-03-09 21:42:08 +0000
commitfe012b454a193c1f81ab8011ecd620750e5869f0 (patch)
tree643538a1ab24bb5a38d64be428e218caba860bd0 /src/Makefile.in
parent4ca8ca682f903d7fcc0e2c4bf6e116245ef8b7b4 (diff)
downloadkrb5-fe012b454a193c1f81ab8011ecd620750e5869f0.tar.gz
krb5-fe012b454a193c1f81ab8011ecd620750e5869f0.tar.xz
krb5-fe012b454a193c1f81ab8011ecd620750e5869f0.zip
Add a script and Makefile target to check for violations of the
recently added standards for copyright and license comments. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24694 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index d76797b87c..769f964a1e 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -749,6 +749,11 @@ mark-cstyle-bsd::
(cd $(top_srcdir) && $(FIND) $(BSDFILES) -print0 | $(XARGS) -0 \
$(PYTHON) util/krb5-mark-cstyle.py --cstyle=bsd)
+check-copyright:
+ (cd $(top_srcdir) && \
+ $(FIND) . \( -name '*.[ch]' -o -name '*.hin' \) -print0 | \
+ $(XARGS) -0 python util/krb5-check-copyright.py)
+
doxygen::
if test "which doxygen" != ""; then \
doxygen; \