From ad28ea61b1d2811476e0bc36c61658f41df4496d Mon Sep 17 00:00:00 2001 From: Jan Nieuwenhuizen Date: Wed, 15 Aug 2007 11:32:01 +0200 Subject: [PATCH] Update grand-replace script and add to buildscripts. Run grand-replace to update stale 2006 copyright markers in texi documentation and lilypond.rc file. --- Documentation/user/lilypond-program.tely | 6 +++--- Documentation/user/lilypond.tely | 6 +++--- Documentation/user/music-glossary.tely | 4 ++-- buildscripts/grand-replace.sh | 5 +++++ buildscripts/makelsr.py | 3 ++- lily/lilypond.rc.in | 2 +- 6 files changed, 16 insertions(+), 10 deletions(-) create mode 100644 buildscripts/grand-replace.sh diff --git a/Documentation/user/lilypond-program.tely b/Documentation/user/lilypond-program.tely index ae45cd18c8..88359fefd4 100644 --- a/Documentation/user/lilypond-program.tely +++ b/Documentation/user/lilypond-program.tely @@ -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 diff --git a/Documentation/user/lilypond.tely b/Documentation/user/lilypond.tely index 999e908cfd..ae4c536387 100644 --- a/Documentation/user/lilypond.tely +++ b/Documentation/user/lilypond.tely @@ -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 diff --git a/Documentation/user/music-glossary.tely b/Documentation/user/music-glossary.tely index edc9e65347..6ab71d3727 100644 --- a/Documentation/user/music-glossary.tely +++ b/Documentation/user/music-glossary.tely @@ -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 index 0000000000..731ef8b392 --- /dev/null +++ b/buildscripts/grand-replace.sh @@ -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') diff --git a/buildscripts/makelsr.py b/buildscripts/makelsr.py index ab18da2ace..a2c24e7018 100755 --- a/buildscripts/makelsr.py +++ b/buildscripts/makelsr.py @@ -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 + '~' ): diff --git a/lily/lilypond.rc.in b/lily/lilypond.rc.in index 830f2fc98e..6503a3decf 100644 --- a/lily/lilypond.rc.in +++ b/lily/lilypond.rc.in @@ -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@" -- 2.39.2