dwww Home | Show directory contents | Find package

ALLSAMPLES = $(basename $(wildcard *-sample.md))
ALLPDF = $(addsuffix .pdf,$(ALLSAMPLES))

PYTHON=/usr/bin/python2

all: ${ALLPDF}


lilypond-sample.pdf: lilypond-sample.md
        pandoc --latex-engine lualatex --filter ./$(subst -sample.md,.py,$<) $< -o $@ || touch $@

gabc-sample.pdf: gabc-sample.md
        pandoc --latex-engine lualatex --filter ./$(subst -sample.md,.py,$<) $< -o $@ || touch $@

%.pdf: %.md
        echo $(subst -sample.md,.py,$<)
        pandoc --filter ./$(subst -sample.md,.py,$<) $< -o $@ || touch $@

clean:
        $(RM) -f ${ALLPDF} *.pyc
        $(RM) -rf *-images tmp_ly

Generated by dwww version 1.15 on Sun Jun 23 04:01:36 CEST 2024.