* stepmake/stepmake/topdocs-targets.make (copy-to-top): Do not
try to copy *png, index.html (Bertalan Fodor).
2003-09-30 Jan Nieuwenhuizen <janneke@gnu.org>
+ * cygwin/lily-wins.py: Check whether to run ly2dvi or lilypond.
+
+ * stepmake/stepmake/topdocs-targets.make (copy-to-top): Do not
+ try to copy *png, index.html (Bertalan Fodor).
+
* Documentation/user/GNUmakefile: Remove bashism (Bertalan Fodor).
* cygwin/mknetrel (preinstall): Set webdir (Bertalan Fodor).
pdfview = 'xpdf'
os.chdir (dir)
-system ('/usr/bin/lilypond %s > %s.log 2>&1' % (escape_shell (base),
- escape_shell (stem)))
+if os.path.exists ('/usr/bin/ly2dvi'):
+ system ('/usr/bin/ly2dvi -p %s > %s.log 2>&1' % (escape_shell (base),
+ escape_shell (stem)))
+else:
+ system ('/usr/bin/lilypond %s > %s.log 2>&1' % (escape_shell (base),
+ escape_shell (stem)))
if not os.path.exists ('%(stem)s.pdf' % vars ()):
# message box?
sys.stderr.write ('pdf output not found\n')
copy-to-top: $(TO_TOP_FILES)
$(foreach i, $(TO_TOP_FILES), \
cp $(i) $(builddir) && ) true
- -cp $(outroot)/out-www/*png $(outroot)/out-www/index.html $(builddir)
- -cp $(outdir)/*png $(outdir)/index.html $(builddir) # don't fail when not making website
local-WWW: $(HTML_FILES) copy-to-top