mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
lilypond.mk: Add target convert
This commit is contained in:
parent
c8e645ffd4
commit
f8388e1953
1 changed files with 11 additions and 1 deletions
|
|
@ -6,9 +6,19 @@ clean: clean.lilypond
|
|||
view: $(LY_PDF)
|
||||
kpdf $<
|
||||
|
||||
convert: convert.done
|
||||
|
||||
%.pdf: %.ly
|
||||
lilypond $<
|
||||
|
||||
clean.lilypond:
|
||||
rm -f *.pdf *.ps
|
||||
rm -f *.pdf *.ps *.done *.tmp
|
||||
|
||||
convert.done:
|
||||
set -e; for o in $(wildcard *.ly); do \
|
||||
echo converting $$o ;\
|
||||
cp $$o $$o.tmp ;\
|
||||
convert-ly $$o.tmp ;\
|
||||
mv $$o.tmp $$o ;\
|
||||
done
|
||||
touch $@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue