]> git.donarmstrong.com Git - lilypond.git/commitdiff
Update grand-replace script and add to buildscripts. Run grand-replace
authorJan Nieuwenhuizen <janneke@gnu.org>
Wed, 15 Aug 2007 09:32:01 +0000 (11:32 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Wed, 15 Aug 2007 09:32:01 +0000 (11:32 +0200)
to update stale 2006 copyright markers in texi documentation and lilypond.rc
file.

Documentation/user/lilypond-program.tely
Documentation/user/lilypond.tely
Documentation/user/music-glossary.tely
buildscripts/grand-replace.sh [new file with mode: 0644]
buildscripts/makelsr.py
lily/lilypond.rc.in

index ae45cd18c826b4a3f6735858139e26af5a5f07ee..88359fefd43e4ad67f33d8399c297f158a72ff10 100644 (file)
@@ -51,7 +51,7 @@ This document is also available as a
 @author The LilyPond development team
 
 
-Copyright @copyright{} 1999--2006 by the authors
+Copyright @copyright{} 1999--2007 by the authors
 
 @quotation
 Permission is granted to copy, distribute and/or modify this document
@@ -82,7 +82,7 @@ Free Documentation License''.
 @end titlepage
 
 @copying
-Copyright @copyright{} 1999--2006 by the authors
+Copyright @copyright{} 1999--2007 by the authors
 
 @quotation
 Permission is granted to copy, distribute and/or modify this document
@@ -97,7 +97,7 @@ Free Documentation License''.
 @ifnottex
 This file documents GNU LilyPond program usage.
 
-Copyright 1999--2006 by the authors
+Copyright 1999--2007 by the authors
 
 @quotation
 Permission is granted to copy, distribute and/or modify this document
index 999e908cfd8237f11e265f04bcc5b7fca5828477..ae4c536387055ac5ed36cbbec19138542f27302f 100644 (file)
@@ -80,7 +80,7 @@ This document is also available as a
 @titlefont{User manual}
 @author The LilyPond development team
 
-Copyright @copyright{} 1999--2006 by the authors
+Copyright @copyright{} 1999--2007 by the authors
 
 @quotation
 Permission is granted to copy, distribute and/or modify this document
@@ -111,7 +111,7 @@ Free Documentation License''.
 @end titlepage
 
 @copying
-Copyright @copyright{} 1999--2006 by the authors
+Copyright @copyright{} 1999--2007 by the authors
 
 @quotation
 Permission is granted to copy, distribute and/or modify this document
@@ -126,7 +126,7 @@ Free Documentation License''.
 @ifnottex
 This file documents GNU LilyPond.
 
-Copyright 1999--2006 by the authors
+Copyright 1999--2007 by the authors
 
 @quotation
 Permission is granted to copy, distribute and/or modify this document
index edc9e653479feed88007c66407d091aa93866be1..6ab71d3727b8658347a7288a5cb3752ed23c4342 100644 (file)
@@ -34,7 +34,7 @@ and as @uref{source/Documentation/user/music-glossary-big-page.html,one big page
 
 @c Fixes by Jean-Pierre Coulon and `Dirk'
 
-Copyright @copyright{} 1999--2006 by the authors
+Copyright @copyright{} 1999--2007 by the authors
 
 
   Permission is granted to copy, distribute and/or modify this document
@@ -87,7 +87,7 @@ English glossary translations,
 Finnish glossary translations.
 @end table
 @*
-Copyright 1999--2006 by the authors
+Copyright 1999--2007 by the authors
 
 
   Permission is granted to copy, distribute and/or modify this document
diff --git a/buildscripts/grand-replace.sh b/buildscripts/grand-replace.sh
new file mode 100644 (file)
index 0000000..731ef8b
--- /dev/null
@@ -0,0 +1,5 @@
+#! @BASH@
+# note: dash does not work
+
+pytt '(Copyright|\(c\)|\(C\)|@copyright\{\})\s*2006' '\1 2006--2007' $(find . -mindepth 2 -type f | grep -Ev 'out/|out-scons|.git/|.scon|#|~|' | grep -iv 'change')
+pytt '(Copyright|\(c\)|\(C\)|@copyright\{\})\s*([^-]*--)(200[0-6])' '\1 \2\062007' $(find . -mindepth 2 -type f | grep -Ev 'out/|out-scons|.git/|.scon|#|~' | grep -iv 'change')
index ab18da2ace687264a5fd2e9a9b7f1ae16d6467ed..a2c24e70181e984f69d8a22f22643a0b172fc2a2 100755 (executable)
@@ -27,7 +27,8 @@ def copy_dir_with_test(srcdir, destdir):
        for file in file_names:
                if (file.endswith ('.ly')):
                        src = os.path.join (srcdir, file)
-                       dest = os.path.join (destdir, file)
+                       destname = file.replace (';', '-')
+                       dest = os.path.join (destdir, destname)
                        copy_with_warning(src, dest)
                        os.system('convert-ly -e ' + dest)
                        if os.path.exists( dest + '~' ):
index 830f2fc98e5f730feee299d8be44a707c46c714e..6503a3decff6ca144fb2eee3a09cc754f61fb6cc 100644 (file)
@@ -20,7 +20,7 @@ VS_VERSION_INFO VERSIONINFO
        VALUE "FileDescription", "LilyPond"
        VALUE "FileVersion", "@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH_LEVEL@.@BUILD_VERSION@"
        VALUE "InternalName", "LilyPond@"
-       VALUE "LegalCopyright", "Copyright (C) 1995--2005  Han-Wen Nienhuys and Jan Nieuwenhuizen, and others."
+       VALUE "LegalCopyright ", "Copyright (C) 1995--2007  Han-Wen Nienhuys and Jan Nieuwenhuizen, and others."
        VALUE "OriginalFilename", "lilypond.exe"
        VALUE "ProductName", "LilyPond"
        VALUE "ProductVersion", "@MAJOR_VERSION@.@MINOR_VERSION@.@PATCH_LEVEL@"