projects
/
lilypond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8c3c93
)
lilypond-book: touch .texi output files already up to date
author
John Mandereau
<john.mandereau@gmail.com>
Sat, 23 Feb 2008 14:42:14 +0000
(15:42 +0100)
committer
John Mandereau
<john.mandereau@gmail.com>
Sat, 23 Feb 2008 14:42:14 +0000
(15:42 +0100)
scripts/lilypond-book.py
patch
|
blob
|
history
diff --git
a/scripts/lilypond-book.py
b/scripts/lilypond-book.py
index 23db86898596e024d27ebf73901e40ae26725240..dee8223de6e66d51cdd85f2b6268f963cc2ddba4 100644
(file)
--- a/
scripts/lilypond-book.py
+++ b/
scripts/lilypond-book.py
@@
-1641,6
+1641,11
@@
def write_if_updated (file_name, lines):
if oldstr == new_str:
progress (_ ("%s is up to date.") % file_name)
progress ('\n')
+
+ # this prevents make from always rerunning lilypond-book:
+ # .texi target must be touched in order to be up to date
+ if global_options.format == 'texinfo':
+ os.utime (file_name, None)
return
except:
pass