@subsection Invoking convert-ly
@example
- convert-ly [options] [files]
+ convert-ly [OPTION]... [FILE]...
@end example
@table @code
-@item --output
- The output file to write.
+@item --assume-old
+ If version number cannot be determined, apply all conversions.
@item --edit
Do an inline edit of the input file. override @code{--output}
-@item --show-rules
- shows all known conversions, and exit
@item --from=@var{FROM_PATCHLEVEL}
Set the level to convert from. If this is not set, convert-ly will
guess this, on the basis of @code{\version} strings in the file
+@item --output
+ The output file to write.
+@item --show-rules
+ shows all known conversions, and exit
@item --to=@var{TO_PATCHLEVEL}
Set the goal version of the conversion. It defaults to the latest
available version.
--- /dev/null
+
+local-ly-clean:
+ $(if $(wildcard *.ly), -mv -f $(wildcard *.ly) $(outdir))
+
+ly-clean: local-ly-clean
+ $(LOOP)
+
+local-download: $(mutopia-examples:%=%.ly)
+ @echo downloading $<
+
+download: local-download
+ $(LOOP)
+
+#
+# Lots smarter would be to do one recursive wget, getting all index.html,
+# parse those with python script to setup tree.
+#
+local-sync:
+ wget --recursive --no-parent --level=1 --timestamping --dont-remove-listing --no-host-directories --accept=index.html $(MUTOPIA_MIRROR)/$(mutopia-dir)/
+# ugh
+# -mv ./ftp/$(mutopia-dir)/* .
+ cp -r ./ftp/$(mutopia-dir)/* .
+ rm -rf ./ftp
+ $(MAKE) 'dirs-before=$(dirs-before)' generate-GNUmakefiles
+
+#
+# should we dowload .ly and .zip just to fill-in tree?
+#
+sync: local-sync
+# wget --recursive --no-parent --timestamping --dont-remove-listing --no-host-directories --cut-dirs=2 --accept=foo $(MUTOPIA_MIRROR)/$(mutopia-dir)/
+ $(LOOP)
+
+generate-GNUmakefiles: $(dirs-after:%=%/GNUmakefile)
+
+# too time-consuming?
+# local-dist: local-ly-clean
+
+local-help: local-ports-help
+
+local-ports-help:
+ @echo -e "\
+ download download .lys from $(MUTOPIA_MIRROR)\n\
+ ly-clean move all .lys to $(outdir)\n\
+ sync generate missing parts of tree\n\
+"\
+
R1|
\!c4\p r r2|
R1|
- g4-#'((font-shape . upright) "pizz.") r r2|
+ g4-#"pizz." r r2|
%295
R1|
R1|
\!c4\p r r2|
R1|
- g4-#'((font-shape . upright) "pizz.") r r2|
+ g4-#"pizz." r r2|
R1|
c,4 r r2|
R1*15|
- c4-#'((font-shape . upright) "pizz.") r r2|
+ c4-#"pizz." r r2|
c4 r r2|
c4 r r2|
}
R1|
\!c4\p r r2|
R1|
- g4-#'((font-shape . upright) "pizz.") r r2|
+ g4-#"pizz." r r2|
R1|
c,4 r r2|
R1*15|
- c4-#'((font-shape . upright) "pizz.") r r2|
+ c4-#"pizz." r r2|
c4 r r2|
c4 r r2|
}
R1|
\!es4\p r r2|
R1|
- d,4-#'((font-shape . upright) "pizz.") r r2|
+ d,4-#"pizz." r r2|
%295
R1|
%310
\!c4\pp r r2|
R1|
- c4-#'((font-shape . upright) "pizz.") r r2|
+ c4-#"pizz." r r2|
c4 r r2|
c4 r r2|
}
R1|
\!g4\p r r2|
R1|
- b,4-#'((font-shape . upright) "pizz.") r r2|
+ b,4-#"pizz." r r2|
%295
R1|
c4 r r2|
R1*15|
- c4-#'((font-shape . upright) "pizz.") r r2|
+ c4-#"pizz." r r2|
c4 r r2|
c4 r r2|
}
R1|
\!c4\p r r2|
R1|
- g4-#'((font-shape . upright) "pizz.") r r2|
+ g4-#"pizz." r r2|
%295
R1|
\!c,\pp r r2|
R1|
% no mistake: octave lower than contrabass, ie, sounding equal
- c,4-#'((font-shape . upright) "pizz.") r r2|
+ c,4-#"pizz." r r2|
c4 r r2|
c4 r r2|
}
\global\let\lilypondpiece\relax%
\global\let\mustmakelilypondpiecetitle\undefined%
}
+% header -- head ?
+% these names can't be changed: they're uses in mutopia headers
+\def\theheader
+{
+ \ifx\lilypondhead\undefined\else%
+ \parbox{\textwidth}{\mbox{}\lilypondhead}\fi
+}
+\def\thefooter
+{
+ \ifx\lilypondfooter\undefined\else%
+ \parbox{\textwidth}{\mbox{}\lilypondfooter}\fi
+}
\endinput