]> git.donarmstrong.com Git - lilypond.git/commitdiff
* scripts/lilypond-book.py (Lilypond_snippet.is_outdated): require
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 28 Mar 2004 18:58:18 +0000 (18:58 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 28 Mar 2004 18:58:18 +0000 (18:58 +0000)
PNG for texinfo too.

* scripts/lilypond-book.py (Lilypond_snippet.is_outdated): treat
.png case separately.

ChangeLog
scripts/lilypond-book.py

index d6a521c29eaeed799d5ee70af18affb0fc66dbf9..7dcd7b9fba5ef8e1110f9625c44de2c7d2eee47f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2004-03-28  Han-Wen Nienhuys   <hanwen@xs4all.nl>
 
+       * scripts/lilypond-book.py (Lilypond_snippet.is_outdated): require
+       PNG for texinfo too.
+
        * po/lilypond.pot: update translation strings.
 
        * VERSION: 2.1.35 released
index b84d2976cd01243d0d4fedc7da1692e34f14f17f..f9c50825ec96034c4c043532983e2f50cc5d6050 100644 (file)
@@ -513,7 +513,7 @@ class Lilypond_snippet (Snippet):
                base = self.basename ()
 
                require = ['.ly', '.tex']
-               if format == HTML:
+               if format == HTML or format == TEXINFO:
                        require.append ('.png')
                require = [os.path.exists (base + x) for x in require]
                if reduce (lambda a,b: a and b, require) \