Update from Andrew: tweaks for cross-staff chords snippet.
[lilypond.git] / make / ports-rules.make
blob5e509eeb33043741a08f3b2e4fed508692ae7c6e
1 ifeq ($(zipped),)
2 %.ly:
3 wget $(MUTOPIA_MIRROR)/$(mutopia-dir)/$@
4 $(MAKE) local-convert-ly
5 else
6 %.zip:
7 wget $(MUTOPIA_MIRROR)/$(mutopia-dir)/$@
9 %.ly: %-lys.zip
10 unzip -n $<
11 $(MAKE) local-convert-ly
12 endif
14 %/GNUmakefile:
15 mkdir -p $(@D)
16 $(if $(shell grep '[.]ly' $(@D)/index.html), \
17 echo 'mutopia-name = $(@D)' > $@, \
18 $(if $(shell grep '[.]zip' $(@D)/index.html), \
19 echo -e 'zipped = true\nmutopia-name = $(@D)' > $@))
20 echo -e $(GNUmakefile) >> $@