+2006-02-25 Han-Wen Nienhuys <hanwen@xs4all.nl>
+
+ * scripts/lilypond-book.py (main): write Makefile dependencies file.
+
+ * GNUmakefile.in (footifymail): use gmane address for webpage bug
+ address.
+
2006-02-23 Graham Percival <gpermus@gmail.com>
* Documentation/user/ tutorial, global: minor changes.
web-ext = html midi pdf png txt ly
footify = $(PYTHON) $(step-bindir)/add-html-footer.py --name $(PACKAGE_NAME) --version $(TOPLEVEL_VERSION)
-footifymail = MAILADDRESS=bug-lilypond@gnu.org
+footifymail = MAILADDRESS='http://post.gmane.org/post.php?group=gmane.comp.gnu.lilypond.bugs'
+
+
local-WWW-post:
# need UTF8 setting in case this is hosted on a website.
open (file_name, 'w').writelines (lines)
ly.progress ('\n')
+def note_input_file (name, inputs=[]):
+ inputs.append (name)
+ return inputs
+
def do_file (input_filename):
# Ugh.
if not input_filename or input_filename == '-':
+ input_filename)[:-1]
else:
input_fullname = find_file (input_filename)
+
+ note_input_file (input_fullname)
in_handle = open (input_fullname)
if input_filename == '-':
ly.progress (" dvips -h %(psfonts_file)s %(output)s" % vars ())
ly.progress ('\n')
+ inputs = note_input_file ('')
+ inputs.pop ()
+ dep_file = os.path.join (output_name, os.path.splitext (file)[0] + '.dep')
+ final_output_file = os.path.join (output_name,
+ os.path.splitext (os.path.basename (file))[0]
+ + '.%s' % format)
+
+ os.chdir (original_dir)
+ open (dep_file, 'w').write ('%s: %s' % (final_output_file, ' '.join (inputs)))
+
if __name__ == '__main__':
main ()