3 $(if $(wildcard *.ly), -mv -f $(wildcard *.ly) $(outdir))
5 ly-clean: local-ly-clean
8 local-download: $(mutopia-examples:%=%.ly)
11 download: local-download
15 # Lots smarter would be to do one recursive wget, getting all index.html,
16 # parse those with python script to setup tree.
19 wget --recursive --no-parent --level=1 --timestamping --dont-remove-listing --no-host-directories --accept=index.html $(MUTOPIA_MIRROR)/$(mutopia-dir)/
21 # -mv ./ftp/$(mutopia-dir)/* .
22 cp -r ./ftp/$(mutopia-dir)/* .
24 $(MAKE) 'dirs-before=$(dirs-before)' generate-GNUmakefiles
27 # should we dowload .ly and .zip just to fill-in tree?
30 # wget --recursive --no-parent --timestamping --dont-remove-listing --no-host-directories --cut-dirs=2 --accept=foo $(MUTOPIA_MIRROR)/$(mutopia-dir)/
33 generate-GNUmakefiles: $(dirs-after:%=%/GNUmakefile)
36 # local-dist: local-ly-clean
38 local-help: local-ports-help
42 download download .lys from $(MUTOPIA_MIRROR)\n\
43 ly-clean move all .lys to $(outdir)\n\
44 sync generate missing parts of tree\n\