Browse Source

ENH: Cleanup header and make license compatible with VIM

Andy Cedilnik 20 years ago
parent
commit
0ec43f7abd
2 changed files with 9 additions and 23 deletions
  1. 5 12
      Docs/cmake-indent.vim
  2. 4 11
      Docs/cmake-syntax.vim

+ 5 - 12
Docs/cmake-indent.vim

@@ -2,17 +2,10 @@
 " 
 "   Program:   CMake - Cross-Platform Makefile Generator
 "   Module:    $RCSfile$
-"   Language:  C++
+"   Language:  VIM
 "   Date:      $Date$
 "   Version:   $Revision$
 " 
-"   Copyright (c) 2002 Kitware, Inc., Insight Consortium.  All rights reserved.
-"   See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
-" 
-"      This software is distributed WITHOUT ANY WARRANTY"  without even 
-"      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
-"      PURPOSE.  See the above copyright notices for more information.
-" 
 " =============================================================================
 
 " Vim indent file
@@ -21,10 +14,10 @@
 " Maintainer:   Andy Cedilnik <[email protected]>
 " Last Change:  $Date$
 " Version:      $Revision$
-" 
-" Licence:      This program is free software; you can redistribute it
-"               and/or modify it under the terms of the CMake
-"               License. See http://www.cmake.org/HTML/Copyright.html
+"
+" Licence:      The CMake license applies to this file. See
+"               http://www.cmake.org/HTML/Copyright.html
+"               This implies that distribution with Vim is allowed
 
 if exists("b:did_indent")
   finish

+ 4 - 11
Docs/cmake-syntax.vim

@@ -2,17 +2,10 @@
 "
 "   Program:   CMake - Cross-Platform Makefile Generator
 "   Module:    $RCSfile$
-"   Language:  C++
+"   Language:  VIM
 "   Date:      $Date$
 "   Version:   $Revision$
 "
-"   Copyright (c) 2002 Kitware, Inc., Insight Consortium.  All rights reserved.
-"   See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
-"
-"      This software is distributed WITHOUT ANY WARRANTY"  without even
-"      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
-"      PURPOSE.  See the above copyright notices for more information.
-"
 " =============================================================================
 
 " Vim syntax file
@@ -22,9 +15,9 @@
 " Last Change:  $Date$
 " Version:      $Revision$
 "
-" Licence:      This program is free software; you can redistribute it
-"               and/or modify it under the terms of the CMake
-"               License. See http://www.cmake.org/HTML/Copyright.html
+" Licence:      The CMake license applies to this file. See
+"               http://www.cmake.org/HTML/Copyright.html
+"               This implies that distribution with Vim is allowed
 
 " For version 5.x: Clear all syntax items
 " For version 6.x: Quit when a syntax file was already loaded