* python/lilylib.py (setup_temp): temporary directories are mode 700.
[lilypond.git] / make / ports-targets.make
blob529672ced5a7382987f5400d4b7ab6ab044fb0b2
2 local-ly-clean:
3 $(if $(wildcard *.ly), -mv -f $(wildcard *.ly) $(outdir))
5 ly-clean: local-ly-clean
6 $(LOOP)
8 local-download: $(mutopia-examples:%=%.ly)
9 @echo downloading $<
11 download: local-download
12 $(LOOP)
15 # Lots smarter would be to do one recursive wget, getting all index.html,
16 # parse those with python script to setup tree.
18 local-sync:
19 wget --recursive --no-parent --level=1 --timestamping --dont-remove-listing --no-host-directories --accept=index.html $(MUTOPIA_MIRROR)/$(mutopia-dir)/
20 # ugh
21 # -mv ./ftp/$(mutopia-dir)/* .
22 cp -r ./ftp/$(mutopia-dir)/* .
23 rm -rf ./ftp
24 $(MAKE) 'dirs-before=$(dirs-before)' generate-GNUmakefiles
27 # should we dowload .ly and .zip just to fill-in tree?
29 sync: local-sync
30 # wget --recursive --no-parent --timestamping --dont-remove-listing --no-host-directories --cut-dirs=2 --accept=foo $(MUTOPIA_MIRROR)/$(mutopia-dir)/
31 $(LOOP)
33 generate-GNUmakefiles: $(dirs-after:%=%/GNUmakefile)
35 truncate = $(filter-out %/GNUmakefile , $(wildcard */*))
36 trunc:
37 rm -fr $(truncate)
39 # too time-consuming?
40 # local-dist: local-ly-clean
42 local-help: local-ports-help
44 local-ports-help:
45 @echo -e "\
46 download download .lys from $(MUTOPIA_MIRROR)\n\
47 ly-clean move all .lys to $(outdir)\n\
48 sync generate missing parts of tree\n\
49 trunc truncate tree\n\