~ubuntu-branches/ubuntu/precise/lilypond/precise

« back to all changes in this revision

Viewing changes to stepmake/stepmake/metafont-rules.make

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2006-12-19 10:18:12 UTC
  • mfrom: (3.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061219101812-7awtjkp0i393wxty
Tags: 2.8.7-3
scripts/midi2ly.py: When setting DATADIR, find Lilypond python files
in the @TOPLEVEL_VERSION@ directory, not 'current'.  Patch thanks to
Chris Lamb (chris@chris-lamb.co.uk).  (Closes: #400550)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
# we want to see botched results as well.
5
5
$(outdir)/%.dvi: %.mf
6
 
        -$(METAFONT) "\scrollmode; input $<;"
7
 
        gftodvi  $(basename $<)
 
6
        -MFINPUTS=$(src-dir) $(METAFONT) "\scrollmode; input $<;"
 
7
        gftodvi $(basename $<)
8
8
        mv $(basename $<).dvi $(outdir)
9
9
        rm $(basename $<).*gf
10
10
 
11
11
# This is not metafont, this is feta-specific
12
12
$(outdir)/%.log: %.mf
13
 
        $(METAFONT) $<
 
13
        MFINPUTS=$(src-dir) $(METAFONT) "\mode:=$(MFMODE); nonstopmode; input $<;"
14
14
        mv $(@F) $@
15
15
        rm $(basename $(@F)).*gf
16
16
 
17
17
$(outdir)/%.tfm $(outdir)%.log: %.mf
18
 
        $(METAFONT) "\mode:=$(MFMODE); nonstopmode; input $<;"
 
18
        MFINPUTS=$(src-dir) $(METAFONT) "\mode:=$(MFMODE); nonstopmode; input $<;"
19
19
# Let's keep this log output, it saves another mf run.
20
20
        mv $(basename $(@F)).log $(basename $(@F)).tfm $(outdir)
21
 
        rm $(basename $(@F)).*gf 
 
21
        rm $(basename $(@F)).*gf
22
22
 
23
23
$(outdir)/%.$(XPM_RESOLUTION)gf: %.mf
24
 
        $(METAFONT) "\\mode=$(XPM_MODE); \\input $<"
 
24
        MFINPUTS=$(src-dir) $(METAFONT) "\\mode=$(XPM_MODE); \\input $<"
25
25
# Let's keep this log output, it saves another mf run.
26
26
        mv $(@F) $(basename $(@F)).log $(basename $(@F)).tfm $(outdir)
27
27
 
29
29
        gftopk $< $@
30
30
 
31
31
 
32
 
$(outdir)/%.pfa: %.mf
33
 
        $(MFTRACE) $(MFTRACE_FLAGS) -I $(outdir)/ --formats=pfa --simplify $(basename $(@F))
34
 
        mv $(basename $(@F)).pfa $(outdir)
35
 
 
36
 
$(outdir)/%.pfb: %.mf
37
 
        $(MFTRACE)  $(MFTRACE_FLAGS) -I $(outdir)/ --formats=pfa,pfb --simplify  $(basename $(@F))
 
32
MFTRACE_FORMATS = pfa pfb svg
 
33
$(outdir)/%.pfb $(outdir)/%.svg $(outdir)/%.pfa: %.mf
 
34
        MFINPUTS=$(src-dir) $(MFTRACE) $(MFTRACE_FLAGS) -I $(src-dir) -I $(outdir)/ --formats=pfa,pfb,svg $(basename $(@F))
 
35
#       -mv $(MFTRACE_FORMATS:%=$(basename $(@F).%)) $(outdir)
38
36
        -mv $(basename $(@F)).pfa $(outdir)
39
 
        mv $(basename $(@F)).pfb $(outdir)
 
37
        -mv $(basename $(@F)).pfb $(outdir)
 
38
        -mv $(basename $(@F)).svg $(outdir)
40
39
 
41
40
#%.afm:
42
41
#       $(SHELL) $(depth)/buildscripts/tfmtoafm.sh $(shell basename $@ .afm)