mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
song.mk: Add file
This commit is contained in:
parent
9d907f4954
commit
cc6befea9c
1 changed files with 27 additions and 0 deletions
27
make/song.mk
Normal file
27
make/song.mk
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
CHOPRO = $(wildcard *.chopro *.cho *.CHOPRO)
|
||||
CHOPRO_PDF = $(addsuffix .pdf,$(basename $(CHOPRO)))
|
||||
CHOPRO_PS = $(addsuffix .ps,$(basename $(CHOPRO)))
|
||||
|
||||
all: $(CHOPRO_PDF)
|
||||
install:
|
||||
clean: clean.chopro clean.tmp
|
||||
distclean:
|
||||
|
||||
pdf: $(CHOPRO_PDF)
|
||||
kpdf: $(CHOPRO_PDF)
|
||||
kpdf $<
|
||||
|
||||
%.pdf: %.ps
|
||||
ps2pdf $< $@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
%.ps: %.chopro
|
||||
chord $< > $@.tmp
|
||||
mv $@.tmp $@
|
||||
|
||||
clean.chopro:
|
||||
rm -f $(CHOPRO_PS) $(CHOPRO_PDF)
|
||||
|
||||
clean.tmp:
|
||||
rm -f *.tmp
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue