lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: scripts/build/scan-mf-deps: script to generate MF dependencies (issu


From: jonas . hahnfeld
Subject: Re: scripts/build/scan-mf-deps: script to generate MF dependencies (issue 553700043 by address@hidden)
Date: Thu, 19 Mar 2020 01:29:58 -0700

The latest version builds, but still has many things wrong that I've
mentioned before plus some new.


https://codereview.appspot.com/553700043/diff/545720043/mf/GNUmakefile
File mf/GNUmakefile (right):

https://codereview.appspot.com/553700043/diff/545720043/mf/GNUmakefile#newcode36
mf/GNUmakefile:36: $(call ly_progress,Making,$@,< mf)
Should be $(outdir)/%.pfb instead of $@

https://codereview.appspot.com/553700043/diff/545720043/mf/GNUmakefile#newcode63
mf/GNUmakefile:63: EXTRA_DIST_FILES += README mf2pt1.mp invoke-mf2pt.sh
r
Extraneous 'r' at the end

https://codereview.appspot.com/553700043/diff/545720043/mf/GNUmakefile#newcode124
mf/GNUmakefile:124: $(call ly_progress,Making,$@,< log)
Should (probably) be $(outdir)/%.lisp instead of $@

https://codereview.appspot.com/553700043/diff/545720043/mf/GNUmakefile#newcode141
mf/GNUmakefile:141: $(call ly_progress,Making,$@,)
$(outdir)/emmentaler-$*.otf

https://codereview.appspot.com/553700043/diff/545720043/mf/GNUmakefile#newcode149
mf/GNUmakefile:149: $(call ly_progress,Making,$@,)
$(outdir)/emmentaler-brace.otf

https://codereview.appspot.com/553700043/diff/545720043/mf/invoke-mf2pt1.sh
File mf/invoke-mf2pt1.sh (right):

https://codereview.appspot.com/553700043/diff/545720043/mf/invoke-mf2pt1.sh#newcode24
mf/invoke-mf2pt1.sh:24: ln -s ../../mf2pt1.mp .
This link is not correct for out-of-tree builds. However MetaPost still
finds mf2pt1.mp correctly in $srcdir because MFINPUTS is set below. I
think all of this linking can be removed.

https://codereview.appspot.com/553700043/diff/545720043/mf/invoke-mf2pt1.sh#newcode34
mf/invoke-mf2pt1.sh:34: echo -n "$target : " > ${name}.dep
As I said before this doesn't work because $target is an absolute path.
My suggestion is to assign target=$3 and introduce
target_path=$(realpath $target)

https://codereview.appspot.com/553700043/diff/545720043/mf/invoke-mf2pt1.sh#newcode38
mf/invoke-mf2pt1.sh:38: touch *.pfb *.tfm *.log *.dep
Should not be needed anymore

https://codereview.appspot.com/553700043/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]